diff --git a/app/build.gradle b/app/build.gradle index 5ff7484566..d0c71b0c91 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId "org.ole.planet.myplanet" minSdkVersion 26 targetSdkVersion 34 - versionCode 2221 - versionName "0.22.21" + versionCode 2222 + versionName "0.22.22" ndkVersion '21.3.6528147' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true diff --git a/app/src/main/java/org/ole/planet/myplanet/ui/resources/ResourceDetailFragment.kt b/app/src/main/java/org/ole/planet/myplanet/ui/resources/ResourceDetailFragment.kt index 6a6f5fc0d4..83975e0d5e 100644 --- a/app/src/main/java/org/ole/planet/myplanet/ui/resources/ResourceDetailFragment.kt +++ b/app/src/main/java/org/ole/planet/myplanet/ui/resources/ResourceDetailFragment.kt @@ -39,6 +39,8 @@ class ResourceDetailFragment : BaseContainerFragment(), OnRatingChangeListener { } override fun onDownloadComplete() { + super.onDownloadComplete() + fragmentLibraryDetailBinding.btnDownload.setImageResource(R.drawable.ic_play) if (!library.userId?.contains(profileDbHandler.userModel?.id)!!) { if (!lRealm.isInTransaction) lRealm.beginTransaction()