Skip to content

Commit 5b0f3f8

Browse files
committed
fix desktop router key
1 parent 17ca782 commit 5b0f3f8

File tree

1 file changed

+1
-1
lines changed
  • desktopApp/src/main/kotlin/dev/dimension/flare

1 file changed

+1
-1
lines changed

desktopApp/src/main/kotlin/dev/dimension/flare/App.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ internal fun WindowScope.FlareApp(onWindowRoute: (Route.WindowRoute) -> Unit) {
9898
val stackManager =
9999
rememberStackManager(
100100
startRoute = getRoute(tabs.primary.first().tabItem),
101-
key = tabs,
101+
key = tabs.all.size,
102102
topLevelRoutes = tabs.all.map { getRoute(it.tabItem) },
103103
)
104104

0 commit comments

Comments
 (0)