fix: fixed boolean evaluation in the code

This commit is contained in:
antonio 2023-07-30 16:57:18 +02:00
parent fe3ba9fb89
commit 6572b846c8
5 changed files with 5 additions and 5 deletions

View file

@ -105,7 +105,7 @@ object Preferences {
}
@JvmStatic
fun askForOptimization(): Boolean? {
fun askForOptimization(): Boolean {
return App.getInstance().preferences.getBoolean(BATTERY_OPTIMIZATION, true)
}