fix(settings): disable secure aod option when aod is off

This commit is contained in:
Nishant Mishra
2025-12-22 09:49:38 +05:30
parent f3824416f4
commit 13eb053e24

View File

@@ -179,7 +179,7 @@ fun TimerSettings(
),
SettingsSwitchItem(
checked = settingsState.secureAod && isPlus,
enabled = isPlus,
enabled = isPlus && settingsState.aodEnabled,
icon = R.drawable.mobile_lock_portrait,
label = R.string.secure_aod,
description = R.string.secure_aod_desc,