mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-02-16 19:30:40 +01:00
Update ChangeResolutionDialog.kt
This commit is contained in:
parent
44223d4ba9
commit
55c4575d03
@ -33,8 +33,9 @@ class ChangeResolutionDialog(
|
||||
.setPositiveButton(R.string.ok, null)
|
||||
.setOnDismissListener { callback() }
|
||||
.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
|
||||
if (openVideoResolutions) {
|
||||
view.change_resolution_video_holder.performClick()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user