mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-02-16 11:20:55 +01:00
Update ChangeResolutionDialogX.kt
This commit is contained in:
parent
55c4575d03
commit
2b4d7db193
@ -38,8 +38,9 @@ class ChangeResolutionDialogX(
|
||||
activity.getAlertDialogBuilder()
|
||||
.setPositiveButton(R.string.ok, null)
|
||||
.apply {
|
||||
activity.setupDialogStuff(view, this, if (isFrontCamera) R.string.front_camera else R.string.back_camera){
|
||||
dialog = it
|
||||
val titleId = if (isFrontCamera) R.string.front_camera else R.string.back_camera
|
||||
activity.setupDialogStuff(view, this, titleId) { alertDialog ->
|
||||
dialog = alertDialog
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user