Skip to content

Commit

Permalink
ktlint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
odaridavid committed Mar 11, 2024
1 parent 3e69d14 commit c3744a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.github.odaridavid.weatherapp.core.model
enum class ExcludedData(val value:String){

enum class ExcludedData(val value: String) {
CURRENT("current"),
HOURLY("hourly"),
DAILY("daily"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class SettingsViewModel @Inject constructor(
ExcludedData.DAILY.value -> ExcludedData.DAILY
ExcludedData.MINUTELY.value -> ExcludedData.MINUTELY
ExcludedData.ALERTS.value -> ExcludedData.ALERTS
else ->{
else -> {
logger.logException(IllegalArgumentException("Invalid excluded data"))
ExcludedData.NONE

Check warning on line 111 in app/src/main/java/com/github/odaridavid/weatherapp/ui/settings/SettingsViewModel.kt

View check run for this annotation

Codecov / codecov/patch

app/src/main/java/com/github/odaridavid/weatherapp/ui/settings/SettingsViewModel.kt#L110-L111

Added lines #L110 - L111 were not covered by tests
}
Expand Down

0 comments on commit c3744a6

Please sign in to comment.