mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
Add warnings
This commit is contained in:
parent
5893d516fb
commit
6e9edfeceb
2 changed files with 2 additions and 0 deletions
|
@ -568,6 +568,7 @@ class NotificationService: UNNotificationServiceExtension {
|
||||||
|
|
||||||
case .pollEnd:
|
case .pollEnd:
|
||||||
notificationTitle = self.messageTitle(for: eventSenderName, in: roomDisplayName)
|
notificationTitle = self.messageTitle(for: eventSenderName, in: roomDisplayName)
|
||||||
|
#warning("alfogrillo: TBC")
|
||||||
notificationBody = VectorL10n.pollTimelineEndedText
|
notificationBody = VectorL10n.pollTimelineEndedText
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -32,6 +32,7 @@ struct TimelinePollView: View {
|
||||||
|
|
||||||
VStack(alignment: .leading, spacing: 16.0) {
|
VStack(alignment: .leading, spacing: 16.0) {
|
||||||
if poll.representsPollEndedEvent {
|
if poll.representsPollEndedEvent {
|
||||||
|
#warning("alfogrillo: TBC")
|
||||||
Text(VectorL10n.pollTimelineEndedText)
|
Text(VectorL10n.pollTimelineEndedText)
|
||||||
.font(theme.fonts.footnote)
|
.font(theme.fonts.footnote)
|
||||||
.foregroundColor(theme.colors.tertiaryContent)
|
.foregroundColor(theme.colors.tertiaryContent)
|
||||||
|
|
Loading…
Reference in a new issue