mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Fix info in UserSessionCardView
This commit is contained in:
@@ -34,7 +34,8 @@ struct UserSessionOverview: View {
|
||||
onLearnMoreAction: {
|
||||
viewModel.send(viewAction: .viewSessionInfo)
|
||||
},
|
||||
showLocationInformations: viewModel.viewState.showLocationInfo
|
||||
showLocationInformations: viewModel.viewState.showLocationInfo,
|
||||
displayMode: .extended
|
||||
)
|
||||
.padding(16)
|
||||
|
||||
@@ -77,12 +78,10 @@ struct UserSessionOverview: View {
|
||||
}
|
||||
.accessibilityIdentifier(VectorL10n.manageSessionRename)
|
||||
|
||||
if viewModel.viewState.isCurrentSession == false {
|
||||
Button {
|
||||
viewModel.send(viewAction: .showLocationInfo)
|
||||
} label: {
|
||||
Label(showLocationInfo: viewModel.viewState.showLocationInfo)
|
||||
}
|
||||
Button {
|
||||
viewModel.send(viewAction: .showLocationInfo)
|
||||
} label: {
|
||||
Label(showLocationInfo: viewModel.viewState.showLocationInfo)
|
||||
}
|
||||
}
|
||||
DestructiveButton {
|
||||
|
||||
Reference in New Issue
Block a user