mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 01:52:44 +02:00
MESSENGER-4179 send button wrong color
This commit is contained in:
+7
-2
@@ -55,9 +55,13 @@ struct StaticLocationView: View {
|
||||
.ignoresSafeArea(.all, edges: [.bottom])
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .navigationBarLeading) {
|
||||
Button(VectorL10n.cancel, action: {
|
||||
Button {
|
||||
viewModel.send(viewAction: .close)
|
||||
})
|
||||
} label: {
|
||||
Text(VectorL10n.cancel)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
}
|
||||
|
||||
}
|
||||
ToolbarItem(placement: .principal) {
|
||||
Text(VectorL10n.locationSharingTitle)
|
||||
@@ -69,6 +73,7 @@ struct StaticLocationView: View {
|
||||
viewModel.send(viewAction: .share)
|
||||
} label: {
|
||||
Image(uiImage: Asset.Images.locationShareIcon.image)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
}
|
||||
.disabled(!viewModel.viewState.shareButtonEnabled)
|
||||
.accessibilityIdentifier("shareButton")
|
||||
|
||||
Reference in New Issue
Block a user