LiveLocationSharingViewer: Change close action title.

This commit is contained in:
SBiOSoftWhare
2022-07-07 11:04:08 +02:00
parent 2d98ea8e57
commit a0d3201b6e
2 changed files with 2 additions and 2 deletions
@@ -57,7 +57,7 @@ struct LiveLocationSharingViewer: View {
.navigationTitle(VectorL10n.locationSharingLiveViewerTitle)
.toolbar {
ToolbarItem(placement: .cancellationAction) {
Button(VectorL10n.cancel) {
Button(VectorL10n.close) {
viewModel.send(viewAction: .done)
}
}
@@ -43,7 +43,7 @@ struct LocationSharingView: View {
.background(theme.colors.background.ignoresSafeArea())
.toolbar {
ToolbarItem(placement: .navigationBarLeading) {
Button(VectorL10n.close, action: {
Button(VectorL10n.cancel, action: {
context.send(viewAction: .cancel)
})
}