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

Commit 35f8f6bc authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Always show rule creation option.

Change-Id: I3508c15a0e9b727d7bc3dd63bd6482a623aaef5b
parent fd646657
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -159,7 +159,6 @@ public class ZenModeAutomationSettings extends ZenModeSettingsBase {
    private void updateControls() {
        final PreferenceScreen root = getPreferenceScreen();
        root.removeAll();
        if (mRules.size() == 0) return;
        final AutomaticZenRule[] sortedRules = sortedRules();
        for (AutomaticZenRule sortedRule : sortedRules) {
            root.addPreference(new ZenRulePreference(getPrefContext(), sortedRule));