Fix crash in PackageChooser

Add 2 new user restriction items, close #124
Add User restriction editor
Add Exit in settings
This commit is contained in:
BinTianqi
2025-05-31 11:59:53 +08:00
parent ef800fd6bd
commit 21ddb5a98d
8 changed files with 209 additions and 44 deletions

View File

@@ -180,10 +180,8 @@ fun AppChooserScreen(params: ApplicationsList, onChoosePackage: (String?) -> Uni
}
) { paddingValues ->
LazyColumn(Modifier.fillMaxSize().padding(paddingValues)) {
stickyHeader {
AnimatedVisibility(progress < 1F) {
LinearProgressIndicator(progress = { progress }, modifier = Modifier.fillMaxWidth())
}
if (progress < 1F) stickyHeader {
LinearProgressIndicator({ progress }, Modifier.fillMaxWidth())
}
items(filteredPackages, { it.name }) {
Row(