diff --git a/app/src/main/kotlin/com/simplemobiletools/calculator/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calculator/activities/SettingsActivity.kt index 1b158fbd..e12e9568 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calculator/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calculator/activities/SettingsActivity.kt @@ -105,7 +105,9 @@ class SettingsActivity : SimpleActivity() { settings_use_comma_as_decimal_mark.toggle() config.useCommaAsDecimalMark = settings_use_comma_as_decimal_mark.isChecked updateWidgets() - ensureBackgroundThread { applicationContext.calculatorDB.deleteHistory() } + ensureBackgroundThread { + applicationContext.calculatorDB.deleteHistory() + } } }