Change show poll history button text (patched from BwM)

This commit is contained in:
Arnfried Griesert
2023-08-21 14:03:09 +00:00
committed by Frank Rotermund
parent 7cbc48f553
commit d350335c7b
2 changed files with 4 additions and 2 deletions
@@ -61,6 +61,7 @@ struct PollHistoryDetail: View {
.font(theme.fonts.caption1)
.padding([.top])
.accessibilityIdentifier("PollHistoryDetail.date")
if BWIBuildSettings.shared.bwiPollParticipantsInHistory {
AnyView(contentPoll)
} else {
@@ -71,7 +72,7 @@ struct PollHistoryDetail: View {
.navigationBarItems(leading: backButton, trailing: doneButton)
}
viewInTimeline
}
}
@@ -104,6 +105,7 @@ struct PollHistoryDetail: View {
viewModel.send(viewAction: .viewInTimeline)
} label: {
Text(VectorL10n.pollHistoryDetailViewInTimeline)
.bold()
}
.accentColor(theme.colors.accent)
.accessibilityIdentifier("PollHistoryDetail.viewInTimeLineButton")