mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Show rename info alert
This commit is contained in:
@@ -30,6 +30,11 @@ struct UserSessionName: View {
|
||||
.navigationBarTitleDisplayMode(.inline)
|
||||
.toolbar { toolbar }
|
||||
.accentColor(theme.colors.accent)
|
||||
.bottomSheet(isPresented: $viewModel.showBottomSheet) {
|
||||
InfoView(title: VectorL10n.userSessionRenameSessionTitle,
|
||||
descripion: VectorL10n.userSessionRenameSessionDescription,
|
||||
action: .init(text: VectorL10n.userSessionGotIt, action: { viewModel.showBottomSheet = false }))
|
||||
}
|
||||
}
|
||||
|
||||
private var textFieldFooter: some View {
|
||||
@@ -39,7 +44,7 @@ struct UserSessionName: View {
|
||||
|
||||
InlineTextButton(VectorL10n.manageSessionNameInfo("%@"),
|
||||
tappableText: VectorL10n.manageSessionNameInfoLink) {
|
||||
viewModel.send(viewAction: .learnMore)
|
||||
viewModel.showBottomSheet = true
|
||||
}
|
||||
.foregroundColor(theme.colors.secondaryContent)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user