fixing a crash at showing equalizer
This commit is contained in:
parent
3cdac6caa1
commit
df7a7601ea
1 changed files with 1 additions and 0 deletions
|
@ -108,6 +108,7 @@ class SettingsActivity : SimpleActivity() {
|
|||
(0 until equalizer.numberOfPresets).mapTo(items) { RadioItem(it, equalizer.getPresetName(it.toShort())) }
|
||||
} catch (e: Exception) {
|
||||
settings_equalizer_holder.beGone()
|
||||
return
|
||||
}
|
||||
|
||||
settings_equalizer.text = items[config.equalizer].title
|
||||
|
|
Loading…
Reference in a new issue