mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 19:15:58 +00:00
fix: managed configuration entry cache (#228)
This commit is contained in:
@@ -570,6 +570,7 @@ class MyViewModel(application: Application): AndroidViewModel(application) {
|
|||||||
} ?: emptyList()
|
} ?: emptyList()
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
e.printStackTrace()
|
e.printStackTrace()
|
||||||
|
appRestrictions.value = emptyList()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1185,7 +1185,8 @@ fun ManagedConfigurationScreen(
|
|||||||
.clickable {
|
.clickable {
|
||||||
dialog = entry
|
dialog = entry
|
||||||
}
|
}
|
||||||
.padding(HorizontalPadding, 8.dp),
|
.padding(HorizontalPadding, 8.dp)
|
||||||
|
.animateItem(),
|
||||||
verticalAlignment = Alignment.CenterVertically
|
verticalAlignment = Alignment.CenterVertically
|
||||||
) {
|
) {
|
||||||
val iconId = when (entry) {
|
val iconId = when (entry) {
|
||||||
|
|||||||
Reference in New Issue
Block a user