Update SettingsActivity.kt

This commit is contained in:
Tibor Kaputa 2022-06-05 09:12:15 +02:00 committed by GitHub
parent ae0b24bbc6
commit c17d52d1a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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()
}
}
}