Hide text when root rejected in ISO directory selection

This commit is contained in:
2026-03-12 16:31:46 +05:00
parent 65a1d79e32
commit f44703a9fa

View File

@@ -178,7 +178,7 @@ fun SettingsScreen(
title = "ISO Directory",
subtitle = uiState.isoDirectory,
enabled = hasRootForStorage,
disabledHint = "Tap to grant root access",
disabledHint = if (!uiState.rootDenied) "Tap to grant root access" else null,
onClick = {
if (hasRootForStorage) {
showPathDialog = true