mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-02-08 15:38:50 +01:00
minor style fix
This commit is contained in:
parent
7bc73b48a4
commit
0934331fe7
@ -146,12 +146,12 @@ class SettingsActivity : SimpleActivity() {
|
||||
private fun setupMaxPhotoResolution() {
|
||||
settings_max_photo_resolution.setSelection(getMaxPhotoSelection())
|
||||
settings_max_photo_resolution.onItemSelectedListener = object : AdapterView.OnItemSelectedListener {
|
||||
override fun onNothingSelected(parent: AdapterView<*>?) {
|
||||
}
|
||||
|
||||
override fun onItemSelected(parent: AdapterView<*>?, view: View?, position: Int, id: Long) {
|
||||
mConfig.maxPhotoResolution = getMaxPhotoPx(settings_max_photo_resolution.selectedItemPosition)
|
||||
}
|
||||
|
||||
override fun onNothingSelected(parent: AdapterView<*>?) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user