Skip to content

Commit 61c6709

Browse files
committed
fix(ios): use slide transition to match native push/pop animation
1 parent 31d5388 commit 61c6709

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

TableProMobile/TableProMobile/TableProMobileApp.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,18 @@ struct TableProMobileApp: App {
2121
if let connection = appState.activeConnection {
2222
ConnectedTabView(connection: connection)
2323
.id(connection.id)
24+
.transition(.move(edge: .trailing))
2425
} else {
2526
NavigationStack {
2627
ConnectionListView()
2728
}
29+
.transition(.move(edge: .leading))
2830
}
2931
} else {
3032
OnboardingView()
3133
}
3234
}
33-
.animation(.default, value: appState.activeConnection?.id)
35+
.animation(.easeInOut(duration: 0.3), value: appState.activeConnection?.id)
3436
.environment(appState)
3537
.onOpenURL { url in
3638
guard url.scheme == "tablepro",

0 commit comments

Comments
 (0)