Skip to content

Commit c3744a6

Browse files
committed
ktlint fix
1 parent 3e69d14 commit c3744a6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/src/main/java/com/github/odaridavid/weatherapp/core/model/ExcludedData.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.github.odaridavid.weatherapp.core.model
2-
enum class ExcludedData(val value:String){
2+
3+
enum class ExcludedData(val value: String) {
34
CURRENT("current"),
45
HOURLY("hourly"),
56
DAILY("daily"),

app/src/main/java/com/github/odaridavid/weatherapp/ui/settings/SettingsViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class SettingsViewModel @Inject constructor(
106106
ExcludedData.DAILY.value -> ExcludedData.DAILY
107107
ExcludedData.MINUTELY.value -> ExcludedData.MINUTELY
108108
ExcludedData.ALERTS.value -> ExcludedData.ALERTS
109-
else ->{
109+
else -> {
110110
logger.logException(IllegalArgumentException("Invalid excluded data"))
111111
ExcludedData.NONE
112112
}

0 commit comments

Comments
 (0)