fix: managed configuration entry cache (#228)

This commit is contained in:
BinTianqi
2026-01-18 15:10:47 +08:00
parent 3da523051b
commit 40a1841c8b
2 changed files with 3 additions and 1 deletions

View File

@@ -570,6 +570,7 @@ class MyViewModel(application: Application): AndroidViewModel(application) {
} ?: emptyList()
} catch (e: Exception) {
e.printStackTrace()
appRestrictions.value = emptyList()
}
}

View File

@@ -1185,7 +1185,8 @@ fun ManagedConfigurationScreen(
.clickable {
dialog = entry
}
.padding(HorizontalPadding, 8.dp),
.padding(HorizontalPadding, 8.dp)
.animateItem(),
verticalAlignment = Alignment.CenterVertically
) {
val iconId = when (entry) {