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 authored and nielsvanvelzen committed Oct 9, 2024
1 parent 01bdd2f commit dcb3a2f
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 dcb3a2f

Please sign in to comment.