mirror of
https://github.com/revanced/revanced-manager-compose
synced 2024-06-02 19:36:16 +02:00
All three features should now work!
This commit is contained in:
parent
6e9926d884
commit
5d804bcdaf
|
@ -89,10 +89,13 @@ fun AppSelectorScreen(
|
|||
}
|
||||
},
|
||||
content = {
|
||||
LazyColumn(
|
||||
modifier = Modifier.fillMaxSize()
|
||||
) {
|
||||
if (appList.isNotEmpty() && filterText.isNotEmpty()) {
|
||||
|
||||
if (appList.isNotEmpty() && filterText.isNotEmpty()) {
|
||||
|
||||
LazyColumn(
|
||||
modifier = Modifier.fillMaxSize()
|
||||
) {
|
||||
|
||||
items(
|
||||
items = filteredAppList,
|
||||
key = { it.packageName }
|
||||
|
@ -122,12 +125,26 @@ fun AppSelectorScreen(
|
|||
)
|
||||
|
||||
}
|
||||
} else {
|
||||
item {
|
||||
/* TODO: DO THIS THING */
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Column(
|
||||
modifier = Modifier.fillMaxSize(),
|
||||
verticalArrangement = Arrangement.Center,
|
||||
horizontalAlignment = Alignment.CenterHorizontally
|
||||
) {
|
||||
Icon(
|
||||
imageVector = Icons.Outlined.Search,
|
||||
contentDescription = stringResource(R.string.search),
|
||||
modifier = Modifier.size(64.dp)
|
||||
)
|
||||
|
||||
Text(
|
||||
text = "Type anything to continue",
|
||||
style = MaterialTheme.typography.bodyLarge
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user