Make wakelock disabled by default

This commit is contained in:
Philipp Heckel 2022-01-18 22:13:27 -05:00
parent 4855ba7d32
commit 5286e02c9c

View file

@ -180,7 +180,7 @@ class Repository(private val sharedPrefs: SharedPreferences, private val subscri
}
fun getWakelockEnabled(): Boolean {
return sharedPrefs.getBoolean(SHARED_PREFS_WAKELOCK_ENABLED, true) // Enabled by default
return sharedPrefs.getBoolean(SHARED_PREFS_WAKELOCK_ENABLED, false) // Disabled by default!
}
fun setWakelockEnabled(enabled: Boolean) {