Hide text when root rejected in ISO directory selection
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user