mirror of
https://github.com/antebudimir/tempus.git
synced 2026-04-16 08:47:24 +00:00
fix: fixed boolean evaluation in the code
This commit is contained in:
parent
fe3ba9fb89
commit
6572b846c8
5 changed files with 5 additions and 5 deletions
|
|
@ -53,7 +53,7 @@ public class BaseActivity extends AppCompatActivity {
|
|||
}
|
||||
|
||||
private void checkBatteryOptimization() {
|
||||
if (detectBatteryOptimization() && Boolean.TRUE.equals(Preferences.askForOptimization())) {
|
||||
if (detectBatteryOptimization() && Preferences.askForOptimization()) {
|
||||
showBatteryOptimizationDialog();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue