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