Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06b1ba1d authored by Beverly's avatar Beverly
Browse files

Update custom zen settings "off" string

zen_mode_sound_summary_off should only be used when describing the
number of schedules that are enabled (and requires a numeric parameter).
Instead, use the string "off" when a sound isn't enabled by a custom dnd
setting.

Fixes: 189120026
Test: manual
Change-Id: I8bc180353a61455b124801d14f0d319f49bb341c
parent 37947fc4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -274,7 +274,7 @@ public class ZenModeSettingsFooterPreferenceController extends AbstractZenModePr
        }

        private int getAllowRes(boolean allow) {
            return allow ? R.string.zen_mode_sound_summary_on : R.string.zen_mode_sound_summary_off;
            return allow ? R.string.zen_mode_sound_summary_on : R.string.switch_off_text;
        }

        @Override