Tweak Modes layouts and use updated strings to match mocks

Bug: 333682392
Test: mostly manual, also ZenModeTriggerUpdatePreferenceControllerTest
Flag: android.app.modes_ui
Change-Id: I5bae828a55128f3cb0b07ea0ff21ca196e7564dc
This commit is contained in:
Matías Hernández
2024-07-30 18:50:55 +02:00
parent 2e12b95c45
commit 0359aaeb47
11 changed files with 111 additions and 68 deletions

View File

@@ -84,9 +84,9 @@ class ZenModeButtonPreferenceController extends AbstractZenModePreferenceControl
}
});
if (zenMode.isActive()) {
mZenButton.setText(R.string.zen_mode_button_turn_off);
mZenButton.setText(R.string.zen_mode_action_deactivate);
} else {
mZenButton.setText(R.string.zen_mode_button_turn_on);
mZenButton.setText(R.string.zen_mode_action_activate);
}
}
}