call scanPath on the context after saving a video

This commit is contained in:
tibbi
2018-01-23 18:33:42 +01:00
parent c5f3d312d3
commit 5699ab4ca3
2 changed files with 4 additions and 3 deletions

View File

@ -41,10 +41,11 @@ class ChangeResolutionDialog(val activity: SimpleActivity, val config: Config, v
RadioGroupDialog(activity, items, selectionIndex) {
selectionIndex = it as Int
view.change_resolution_photo.text = items[selectionIndex].title
if (isBackCamera)
if (isBackCamera) {
config.backPhotoResIndex = it
else
} else {
config.frontPhotoResIndex = it
}
dialog.dismiss()
}
}