fix(settings): disable secure aod option when aod is off
This commit is contained in:
@@ -179,7 +179,7 @@ fun TimerSettings(
|
|||||||
),
|
),
|
||||||
SettingsSwitchItem(
|
SettingsSwitchItem(
|
||||||
checked = settingsState.secureAod && isPlus,
|
checked = settingsState.secureAod && isPlus,
|
||||||
enabled = isPlus,
|
enabled = isPlus && settingsState.aodEnabled,
|
||||||
icon = R.drawable.mobile_lock_portrait,
|
icon = R.drawable.mobile_lock_portrait,
|
||||||
label = R.string.secure_aod,
|
label = R.string.secure_aod,
|
||||||
description = R.string.secure_aod_desc,
|
description = R.string.secure_aod_desc,
|
||||||
|
|||||||
Reference in New Issue
Block a user