diff --git a/app/build.gradle b/app/build.gradle index e557467d..570f265a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -63,7 +63,7 @@ android { } dependencies { - implementation 'com.github.fatihergin:Simple-Commons:4ef43732e6' // TODO: replace it with SimpleMobileTools after merging the Commons PR + implementation 'com.github.fatihergin:Simple-Commons:db3c379ac2' // TODO: replace it with SimpleMobileTools after merging the Commons PR implementation 'androidx.documentfile:documentfile:1.0.1' implementation "androidx.exifinterface:exifinterface:1.3.5" implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.5.1" diff --git a/app/src/main/kotlin/com/simplemobiletools/camera/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/camera/activities/SettingsActivity.kt index 2ee9d8fc..6f3f44eb 100644 --- a/app/src/main/kotlin/com/simplemobiletools/camera/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/camera/activities/SettingsActivity.kt @@ -7,10 +7,7 @@ import com.simplemobiletools.camera.R import com.simplemobiletools.camera.extensions.checkLocationPermission import com.simplemobiletools.camera.extensions.config import com.simplemobiletools.camera.models.CaptureMode -import com.simplemobiletools.commons.dialogs.FeatureLockedDialog -import com.simplemobiletools.commons.dialogs.FilePickerDialog -import com.simplemobiletools.commons.dialogs.OpenAppSettingsDialog -import com.simplemobiletools.commons.dialogs.RadioGroupDialog +import com.simplemobiletools.commons.dialogs.* import com.simplemobiletools.commons.extensions.* import com.simplemobiletools.commons.helpers.* import com.simplemobiletools.commons.models.FAQItem @@ -179,7 +176,7 @@ class SettingsActivity : SimpleActivity() { if (checkLocationPermission()) { updateSavePhotoVideoLocationConfig(true) } else { - OpenAppSettingsDialog(activity = this@SettingsActivity, message = getString(R.string.allow_location_permission)) + OpenDeviceSettingsDialog(activity = this@SettingsActivity, message = getString(R.string.allow_location_permission)) } } }