From 4ee604962f5db520717776e429638d33214ffcab Mon Sep 17 00:00:00 2001 From: tibbi Date: Sat, 18 Mar 2017 17:22:27 +0100 Subject: [PATCH] update commons to 2.12.7 --- app/build.gradle | 2 +- .../simplemobiletools/gallery/activities/SettingsActivity.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 810b95dc7..ac24c9f53 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -32,7 +32,7 @@ android { } dependencies { - compile 'com.simplemobiletools:commons:2.12.5' + compile 'com.simplemobiletools:commons:2.12.7' compile 'com.theartofdev.edmodo:android-image-cropper:2.3.1' compile 'com.bignerdranch.android:recyclerview-multiselect:0.2' compile 'com.google.code.gson:gson:2.8.0' diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt index dd8135b47..6aeb9cc4a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/activities/SettingsActivity.kt @@ -96,7 +96,7 @@ class SettingsActivity : SimpleActivity() { RadioItem(VIDEOS, res.getString(R.string.videos))) RadioGroupDialog(this@SettingsActivity, items, config.showMedia) { - config.showMedia = it + config.showMedia = it as Int settings_show_media.text = getShowMediaText() } }