From 36beff5214f994e67d34c9af50048763c6a8b9cb Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 10 Apr 2022 20:10:19 +0200 Subject: [PATCH] updating commons --- app/build.gradle | 2 +- .../simplemobiletools/gallery/pro/activities/MainActivity.kt | 2 +- .../simplemobiletools/gallery/pro/activities/MediaActivity.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index ba4284eec..c48a2a103 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -77,7 +77,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:df1feb973d' + implementation 'com.github.SimpleMobileTools:Simple-Commons:6fe11460ea' implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0' implementation 'it.sephiroth.android.exif:library:1.0.1' implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.24' diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt index c35f34716..04eb4db1c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MainActivity.kt @@ -184,7 +184,7 @@ class MainActivity : SimpleActivity(), DirectoryOperationsListener { val primaryColor = getProperPrimaryColor() if (mStoredPrimaryColor != primaryColor) { - getRecyclerAdapter()?.updatePrimaryColor(primaryColor) + getRecyclerAdapter()?.updatePrimaryColor() } val styleString = "${config.folderStyle}${config.showFolderMediaCount}${config.limitFolderTitle}" diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MediaActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MediaActivity.kt index da19d1303..bcfd428ac 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MediaActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/pro/activities/MediaActivity.kt @@ -145,7 +145,7 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener { val primaryColor = getProperPrimaryColor() if (mStoredPrimaryColor != primaryColor) { - getMediaAdapter()?.updatePrimaryColor(primaryColor) + getMediaAdapter()?.updatePrimaryColor() } if (