mirror of
https://github.com/gabehf/tempus.git
synced 2026-03-17 03:06:31 -07: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