Hide namespace config in app profiles (#2426)

This is never implemented in kernel (and likely never will be), so let's
remove it from UI for now to avoid misleading users.
This commit is contained in:
Wang Han
2025-02-09 21:26:04 +08:00
committed by GitHub
parent f4a682d5fd
commit 32f84dcb1f

View File

@@ -73,6 +73,7 @@ fun RootProfileConfig(
) )
} }
/*
var expanded by remember { mutableStateOf(false) } var expanded by remember { mutableStateOf(false) }
val currentNamespace = when (profile.namespace) { val currentNamespace = when (profile.namespace) {
Natives.Profile.Namespace.INHERITED.ordinal -> stringResource(R.string.profile_namespace_inherited) Natives.Profile.Namespace.INHERITED.ordinal -> stringResource(R.string.profile_namespace_inherited)
@@ -126,6 +127,7 @@ fun RootProfileConfig(
} }
} }
}) })
*/
UidPanel(uid = profile.uid, label = "uid", onUidChange = { UidPanel(uid = profile.uid, label = "uid", onUidChange = {
onProfileChange( onProfileChange(