Hide text when root rejected in ISO directory selection
This commit is contained in:
@@ -178,7 +178,7 @@ fun SettingsScreen(
|
|||||||
title = "ISO Directory",
|
title = "ISO Directory",
|
||||||
subtitle = uiState.isoDirectory,
|
subtitle = uiState.isoDirectory,
|
||||||
enabled = hasRootForStorage,
|
enabled = hasRootForStorage,
|
||||||
disabledHint = "Tap to grant root access",
|
disabledHint = if (!uiState.rootDenied) "Tap to grant root access" else null,
|
||||||
onClick = {
|
onClick = {
|
||||||
if (hasRootForStorage) {
|
if (hasRootForStorage) {
|
||||||
showPathDialog = true
|
showPathDialog = true
|
||||||
|
|||||||
Reference in New Issue
Block a user