Skip to content

Commit

Permalink
Fixed the problem of restoring focus on the home tab content
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix committed Oct 7, 2024
1 parent 4d6fe0b commit b69db1c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ fun LauncherScreen() {
.focusProperties { next = second },
label = "content"
) { tabIndex ->
if (tabIndex == 0) HomeTab(modifier = Modifier.focusRestorer())
if (tabIndex == 0) HomeTab()
else if (tabIndex == 1) AppsTab(modifier = Modifier.focusRestorer())
}
}
Expand Down

0 comments on commit b69db1c

Please sign in to comment.