From 394b676133dacc2367a80975597a13a21b44bcfa Mon Sep 17 00:00:00 2001 From: Flo Edelmann Date: Tue, 2 Apr 2024 10:18:15 +0200 Subject: [PATCH] Lint --- .../streetcomplete/screens/settings/ResurveyIntervalsUpdater.kt | 2 -- .../screens/settings/questselection/QuestSelectionViewModel.kt | 1 - 2 files changed, 3 deletions(-) diff --git a/app/src/main/java/de/westnordost/streetcomplete/screens/settings/ResurveyIntervalsUpdater.kt b/app/src/main/java/de/westnordost/streetcomplete/screens/settings/ResurveyIntervalsUpdater.kt index b13dc713f5..70394a797c 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/screens/settings/ResurveyIntervalsUpdater.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/screens/settings/ResurveyIntervalsUpdater.kt @@ -29,8 +29,6 @@ class ResurveyIntervalsUpdater(private val prefs: ObservableSettings) { init { settingsListener = prefs.addStringOrNullListener(Prefs.RESURVEY_INTERVALS) { update() } } - - } private val Prefs.ResurveyIntervals.multiplier: Float get() = when (this) { diff --git a/app/src/main/java/de/westnordost/streetcomplete/screens/settings/questselection/QuestSelectionViewModel.kt b/app/src/main/java/de/westnordost/streetcomplete/screens/settings/questselection/QuestSelectionViewModel.kt index 3db3a97e95..10909945c1 100644 --- a/app/src/main/java/de/westnordost/streetcomplete/screens/settings/questselection/QuestSelectionViewModel.kt +++ b/app/src/main/java/de/westnordost/streetcomplete/screens/settings/questselection/QuestSelectionViewModel.kt @@ -20,7 +20,6 @@ import de.westnordost.streetcomplete.util.ktx.launch import kotlinx.coroutines.Dispatchers.IO import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.StateFlow -import kotlinx.coroutines.flow.flow import kotlinx.coroutines.flow.update abstract class QuestSelectionViewModel : ViewModel() {