mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-04-25 12:38:46 +02:00
Merge remote-tracking branch 'origin/feat/camera-x' into feat/camera-x
This commit is contained in:
commit
05ec3598b8
@ -33,8 +33,9 @@ class ChangeResolutionDialog(
|
|||||||
.setPositiveButton(R.string.ok, null)
|
.setPositiveButton(R.string.ok, null)
|
||||||
.setOnDismissListener { callback() }
|
.setOnDismissListener { callback() }
|
||||||
.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
|
||||||
if (openVideoResolutions) {
|
if (openVideoResolutions) {
|
||||||
view.change_resolution_video_holder.performClick()
|
view.change_resolution_video_holder.performClick()
|
||||||
}
|
}
|
||||||
|
@ -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