Fixed up the conversation banner accessibility ids

pull/1061/head
Morgan Pretty 1 month ago
parent ef741ae58f
commit e7e289c3e7

@ -227,8 +227,7 @@ final class ConversationVC: BaseVC, LibSessionRespondingViewController, Conversa
icon: .close, icon: .close,
tintColor: .messageBubble_outgoingText, tintColor: .messageBubble_outgoingText,
backgroundColor: .primary, backgroundColor: .primary,
accessibility: Accessibility(label: "Outdated client banner"), labelAccessibility: Accessibility(identifier: "Outdated client banner"),
labelAccessibility: Accessibility(label: "Outdated client banner text"),
height: 40, height: 40,
onTap: { [weak self] in self?.removeOutdatedClientBanner() } onTap: { [weak self] in self?.removeOutdatedClientBanner() }
) )
@ -246,7 +245,7 @@ final class ConversationVC: BaseVC, LibSessionRespondingViewController, Conversa
icon: .none, icon: .none,
tintColor: .messageBubble_outgoingText, tintColor: .messageBubble_outgoingText,
backgroundColor: .primary, backgroundColor: .primary,
accessibility: Accessibility(label: "Legacy group banner"), labelAccessibility: Accessibility(identifier: "Legacy group banner"),
height: nil, height: nil,
onTap: { [weak self] in self?.openUrl(Features.legacyGroupDepricationUrl) } onTap: { [weak self] in self?.openUrl(Features.legacyGroupDepricationUrl) }
) )
@ -268,7 +267,7 @@ final class ConversationVC: BaseVC, LibSessionRespondingViewController, Conversa
icon: .none, icon: .none,
tintColor: .black, tintColor: .black,
backgroundColor: .explicitPrimary(.orange), backgroundColor: .explicitPrimary(.orange),
accessibility: Accessibility(label: "Expired group banner"), labelAccessibility: Accessibility(identifier: "Expired group banner"),
height: nil height: nil
) )
) )

Loading…
Cancel
Save