fixing a crash at showing equalizer

This commit is contained in:
tibbi 2018-09-10 21:58:52 +02:00
parent 3cdac6caa1
commit df7a7601ea

View file

@ -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