rename OpenAppSettingsDialog as OpenDeviceSettingsDialog
This commit is contained in:
parent
b64d5374f6
commit
b9bbf8043c
|
@ -63,7 +63,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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.documentfile:documentfile:1.0.1'
|
||||||
implementation "androidx.exifinterface:exifinterface:1.3.5"
|
implementation "androidx.exifinterface:exifinterface:1.3.5"
|
||||||
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.5.1"
|
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.checkLocationPermission
|
||||||
import com.simplemobiletools.camera.extensions.config
|
import com.simplemobiletools.camera.extensions.config
|
||||||
import com.simplemobiletools.camera.models.CaptureMode
|
import com.simplemobiletools.camera.models.CaptureMode
|
||||||
import com.simplemobiletools.commons.dialogs.FeatureLockedDialog
|
import com.simplemobiletools.commons.dialogs.*
|
||||||
import com.simplemobiletools.commons.dialogs.FilePickerDialog
|
|
||||||
import com.simplemobiletools.commons.dialogs.OpenAppSettingsDialog
|
|
||||||
import com.simplemobiletools.commons.dialogs.RadioGroupDialog
|
|
||||||
import com.simplemobiletools.commons.extensions.*
|
import com.simplemobiletools.commons.extensions.*
|
||||||
import com.simplemobiletools.commons.helpers.*
|
import com.simplemobiletools.commons.helpers.*
|
||||||
import com.simplemobiletools.commons.models.FAQItem
|
import com.simplemobiletools.commons.models.FAQItem
|
||||||
|
@ -179,7 +176,7 @@ class SettingsActivity : SimpleActivity() {
|
||||||
if (checkLocationPermission()) {
|
if (checkLocationPermission()) {
|
||||||
updateSavePhotoVideoLocationConfig(true)
|
updateSavePhotoVideoLocationConfig(true)
|
||||||
} else {
|
} else {
|
||||||
OpenAppSettingsDialog(activity = this@SettingsActivity, message = getString(R.string.allow_location_permission))
|
OpenDeviceSettingsDialog(activity = this@SettingsActivity, message = getString(R.string.allow_location_permission))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue