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

Commit 2c4aec3a authored by Haijie Hong's avatar Haijie Hong Committed by Android (Google) Code Review
Browse files

Merge "Also disable main content if switch is disabled" into main

parents b5d407ab ffa4fba1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -294,6 +294,7 @@ class DeviceDetailsFragmentFormatterImpl(
            TwoTargetSwitchPreference(
                switchPrefModel,
                primaryOnClick = { triggerAction(model.action) },
                primaryEnabled = { !model.disabled }
            )
        } else {
            SwitchPreference(switchPrefModel)