Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
silvzr committed Nov 10, 2024
1 parent 11e2eb6 commit 57e9eea
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ fun SuperUserScreen(navigator: DestinationsNavigator) {
val scope = rememberCoroutineScope()
val scrollBehavior = TopAppBarDefaults.pinnedScrollBehavior(rememberTopAppBarState())

LaunchedEffect(Unit) {
LaunchedEffect(key1 = navigator) {
viewModel.search = ""
if (viewModel.appList.isEmpty()) {
viewModel.fetchAppList()
}
Expand Down

0 comments on commit 57e9eea

Please sign in to comment.