diff --git a/app/src/main/java/ru/hepolise/volumekeytrackcontrol/ui/component/VibrationEffectSetting.kt b/app/src/main/java/ru/hepolise/volumekeytrackcontrol/ui/component/VibrationEffectSetting.kt index c3c2539..1aef250 100644 --- a/app/src/main/java/ru/hepolise/volumekeytrackcontrol/ui/component/VibrationEffectSetting.kt +++ b/app/src/main/java/ru/hepolise/volumekeytrackcontrol/ui/component/VibrationEffectSetting.kt @@ -61,7 +61,6 @@ private val VibrationEffectTitles = VibrationType.values.associateWith { VibrationType.DoubleClick -> R.string.vibration_effect_double_click VibrationType.HeavyClick -> R.string.vibration_effect_heavy_click VibrationType.Tick -> R.string.vibration_effect_tick - else -> throw IllegalStateException("Unknown VibrationType: $it") } } else { throw IllegalStateException("VibrationType is not supported on this API level") diff --git a/gradle.properties b/gradle.properties index 2a7ec69..cd0519b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -20,5 +20,4 @@ kotlin.code.style=official # Enables namespacing of each library's R class so that its R class includes only the # resources declared in the library itself and none from the library's dependencies, # thereby reducing the size of the R class for that library -android.nonTransitiveRClass=true -android.nonFinalResIds=false \ No newline at end of file +android.nonTransitiveRClass=true \ No newline at end of file