We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e69d14 commit c3744a6Copy full SHA for c3744a6
app/src/main/java/com/github/odaridavid/weatherapp/core/model/ExcludedData.kt
@@ -1,5 +1,6 @@
1
package com.github.odaridavid.weatherapp.core.model
2
-enum class ExcludedData(val value:String){
+
3
+enum class ExcludedData(val value: String) {
4
CURRENT("current"),
5
HOURLY("hourly"),
6
DAILY("daily"),
app/src/main/java/com/github/odaridavid/weatherapp/ui/settings/SettingsViewModel.kt
@@ -106,7 +106,7 @@ class SettingsViewModel @Inject constructor(
106
ExcludedData.DAILY.value -> ExcludedData.DAILY
107
ExcludedData.MINUTELY.value -> ExcludedData.MINUTELY
108
ExcludedData.ALERTS.value -> ExcludedData.ALERTS
109
- else ->{
+ else -> {
110
logger.logException(IllegalArgumentException("Invalid excluded data"))
111
ExcludedData.NONE
112
}
0 commit comments