mirror of
				https://github.com/SimpleMobileTools/Simple-Camera.git
				synced 2025-06-27 09:02:59 +02:00 
			
		
		
		
	update the dialog with the selected resolution
This commit is contained in:
		| @@ -34,6 +34,7 @@ class ChangeResolutionDialog(val activity: SimpleActivity, val isBackCamera: Boo | |||||||
|             RadioGroupDialog(activity, items, selectionIndex) { |             RadioGroupDialog(activity, items, selectionIndex) { | ||||||
|                 if (isBackCamera) config.backPhotoResIndex else config.frontPhotoResIndex = it as Int |                 if (isBackCamera) config.backPhotoResIndex else config.frontPhotoResIndex = it as Int | ||||||
|                 selectionIndex = it as Int |                 selectionIndex = it as Int | ||||||
|  |                 view.change_resolution_photo.text = items[selectionIndex].title | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|         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) { |             RadioGroupDialog(activity, items, selectionIndex) { | ||||||
|                 if (isBackCamera) config.backVideoResIndex else config.frontVideoResIndex = it as Int |                 if (isBackCamera) config.backVideoResIndex else config.frontVideoResIndex = it as Int | ||||||
|                 selectionIndex = it as Int |                 selectionIndex = it as Int | ||||||
|  |                 view.change_resolution_video.text = items[selectionIndex].title | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|         view.change_resolution_video.text = items[selectionIndex].title |         view.change_resolution_video.text = items[selectionIndex].title | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user