diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index 45c4b841811b..ad170c0530a0 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -4,6 +4,7 @@ ----- * [**] Login: improved error messages for login with self-hosted sites. [https://github.com/wordpress-mobile/WordPress-Android/pull/15919] * [*] Reader: nested comments with missing parent are now hidden from the comment list [https://github.com/wordpress-mobile/WordPress-Android/pull/15993] +* [*] My Site: Fixes indeterminate progress bar in site icon when cancelling editing [https://github.com/wordpress-mobile/WordPress-Android/pull/15958] 19.3 ----- diff --git a/WordPress/src/main/java/org/wordpress/android/ui/mysite/MySiteViewModel.kt b/WordPress/src/main/java/org/wordpress/android/ui/mysite/MySiteViewModel.kt index 1779964ab17b..989363d63490 100644 --- a/WordPress/src/main/java/org/wordpress/android/ui/mysite/MySiteViewModel.kt +++ b/WordPress/src/main/java/org/wordpress/android/ui/mysite/MySiteViewModel.kt @@ -636,13 +636,10 @@ class MySiteViewModel @Inject constructor( analyticsTrackerWrapper.track(stat) val imageUri = Uri.parse(iconUrl)?.let { UriWrapper(it) } if (imageUri != null) { - selectedSiteRepository.showSiteIconProgressBar(true) launch(bgDispatcher) { val fetchMedia = wpMediaUtilsWrapper.fetchMediaToUriWrapper(imageUri) if (fetchMedia != null) { _onNavigation.postValue(Event(SiteNavigationAction.OpenCropActivity(fetchMedia))) - } else { - selectedSiteRepository.showSiteIconProgressBar(false) } } }