Prevent room navigation back button from jumping while animating

This commit is contained in:
Stefan Ceriu
2023-05-23 16:28:16 +03:00
committed by Stefan Ceriu
parent a78108b3c0
commit 59f60a14a2
2 changed files with 1 additions and 1 deletions
@@ -34,7 +34,6 @@ struct RoomScreen: View {
} }
.navigationBarTitleDisplayMode(.inline) .navigationBarTitleDisplayMode(.inline)
.toolbar { toolbar } .toolbar { toolbar }
.toolbarRole(.editor) // Hide the back button title.
.toolbarBackground(.visible, for: .navigationBar) // Fix the toolbar's background. .toolbarBackground(.visible, for: .navigationBar) // Fix the toolbar's background.
.overlay { loadingIndicator } .overlay { loadingIndicator }
.alert(item: $context.alertInfo) { $0.alert } .alert(item: $context.alertInfo) { $0.alert }
+1
View File
@@ -0,0 +1 @@
Prevent room navigation back button from jumping while animating