update the dialog with the selected resolution
This commit is contained in:
parent
7ead59dad4
commit
4938da8d0d
|
@ -34,6 +34,7 @@ class ChangeResolutionDialog(val activity: SimpleActivity, val isBackCamera: Boo
|
|||
RadioGroupDialog(activity, items, selectionIndex) {
|
||||
if (isBackCamera) config.backPhotoResIndex else config.frontPhotoResIndex = it as Int
|
||||
selectionIndex = it as Int
|
||||
view.change_resolution_photo.text = items[selectionIndex].title
|
||||
}
|
||||
}
|
||||
view.change_resolution_photo.text = items[selectionIndex].title
|
||||
|
@ -47,6 +48,7 @@ class ChangeResolutionDialog(val activity: SimpleActivity, val isBackCamera: Boo
|
|||
RadioGroupDialog(activity, items, selectionIndex) {
|
||||
if (isBackCamera) config.backVideoResIndex else config.frontVideoResIndex = it as Int
|
||||
selectionIndex = it as Int
|
||||
view.change_resolution_video.text = items[selectionIndex].title
|
||||
}
|
||||
}
|
||||
view.change_resolution_video.text = items[selectionIndex].title
|
||||
|
|
Loading…
Reference in New Issue