Skip to content

Commit

Permalink
undo whitespace changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Metaroll committed Dec 10, 2024
1 parent 1ab6437 commit 003a93c
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ class SettingsViewModel(
}

fun showColorPicker(colorSetting: ColorSetting?) {
_viewState.update { it.copy(openColorPickerForSetting = colorSetting) }
_viewState.update {
it.copy(openColorPickerForSetting = colorSetting)
}
}

fun showIntPicker(intSetting: IntSetting?) {
Expand All @@ -155,7 +157,6 @@ class SettingsViewModel(
_viewState.update { it.copy(showExportDialog = show) }
}


fun handleImport(importPath: String) {
try {
exportImport.importDatabase(importPath)
Expand Down Expand Up @@ -239,4 +240,4 @@ enum class BooleanSetting(val stringResId: Int, val settingDbKey: String) {
LUTEAL_PHASE_CALCULATION(R.string.luteal_phase_calculation, "luteal_period_calculation"),
SHOW_CYCLE_NUMBERS(R.string.cycle_numbers_show, "cycle_numbers_show"),
PREVENT_SCREENSHOTS(R.string.screen_protection, "screen_protection"),
}
}

0 comments on commit 003a93c

Please sign in to comment.