Skip to content

Commit

Permalink
resources: smoother download dialog (fixes #5050) (#5069)
Browse files Browse the repository at this point in the history
Co-authored-by: Gideon Okuro <[email protected]>
Co-authored-by: dogi <[email protected]>
  • Loading branch information
3 people committed Jan 21, 2025
1 parent b17f44f commit aa08c32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit aa08c32

Please sign in to comment.