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)
.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 }