Skip to content

Commit

Permalink
Prevent room navigation back button from jumping while animating
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanceriu committed May 23, 2023
1 parent a78108b commit 59f60a1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ struct RoomScreen: View {
}
.navigationBarTitleDisplayMode(.inline)
.toolbar { toolbar }
.toolbarRole(.editor) // Hide the back button title.
.toolbarBackground(.visible, for: .navigationBar) // Fix the toolbar's background.
.overlay { loadingIndicator }
.alert(item: $context.alertInfo) { $0.alert }
Expand Down
1 change: 1 addition & 0 deletions changelog.d/pr-945.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Prevent room navigation back button from jumping while animating

0 comments on commit 59f60a1

Please sign in to comment.