Allow RoomFlowCoordinator to start a child flow. (#2644)

This commit is contained in:
Doug
2024-04-04 11:30:38 +01:00
committed by GitHub
parent df242e3f1c
commit 3418d24557
9 changed files with 147 additions and 41 deletions
@@ -61,6 +61,7 @@ struct RoomDetailsScreen: View {
}
}
}
.navigationTitle(L10n.screenRoomDetailsTitle)
.track(screen: .RoomDetails)
.interactiveQuickLook(item: $context.mediaPreviewItem, shouldHideControls: true)
}
@@ -23,6 +23,7 @@ struct RoomMemberDetailsScreen: View {
var body: some View {
content
.compoundList()
.navigationTitle(L10n.screenRoomMemberDetailsTitle)
.alert(item: $context.ignoreUserAlert, actions: blockUserAlertActions, message: blockUserAlertMessage)
.alert(item: $context.alertInfo)
.track(screen: .User)
@@ -47,6 +47,7 @@ struct RoomScreen: View {
.background(Color.compound.bgCanvasDefault.ignoresSafeArea())
.environmentObject(context)
}
.navigationTitle(L10n.commonRoom) // Hidden but used for back button text.
.navigationBarTitleDisplayMode(.inline)
.navigationBarHidden(isNavigationBarHidden)
.toolbar { toolbar }