From 59f60a14a224f151d1db8cdae8fd2b065b8005dd Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Tue, 23 May 2023 16:28:16 +0300 Subject: [PATCH] Prevent room navigation back button from jumping while animating --- ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift | 1 - changelog.d/pr-945.bugfix | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 changelog.d/pr-945.bugfix diff --git a/ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift b/ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift index a1bad472e..340a3a765 100644 --- a/ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift +++ b/ElementX/Sources/Screens/RoomScreen/View/RoomScreen.swift @@ -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 } diff --git a/changelog.d/pr-945.bugfix b/changelog.d/pr-945.bugfix new file mode 100644 index 000000000..98242089a --- /dev/null +++ b/changelog.d/pr-945.bugfix @@ -0,0 +1 @@ +Prevent room navigation back button from jumping while animating \ No newline at end of file