fixed typo when reading battery_op setting
This commit is contained in:
parent
12fd5c46ef
commit
aa6955a0d6
|
@ -1345,7 +1345,7 @@ public class ConversationActivity extends XmppActivity
|
|||
}
|
||||
|
||||
private void openBatteryOptimizationDialogIfNeeded() {
|
||||
if (showBatteryOptimizationWarning() && getPreferences().getBoolean("show_battery_optimizationF", true)) {
|
||||
if (showBatteryOptimizationWarning() && getPreferences().getBoolean("show_battery_optimization", true)) {
|
||||
AlertDialog.Builder builder = new AlertDialog.Builder(this);
|
||||
builder.setTitle(R.string.battery_optimizations_enabled);
|
||||
builder.setMessage(R.string.battery_optimizations_enabled_dialog);
|
||||
|
|
Loading…
Reference in New Issue