mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-06-27 09:02:59 +02:00
rename OpenAppSettingsDialog as OpenDeviceSettingsDialog
This commit is contained in:
@ -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"
|
||||
|
@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user