Update iconography visible in launch video (#1762)

This commit is contained in:
Doug
2023-09-21 12:38:09 +01:00
committed by GitHub
parent 057c33e680
commit 4e6fe278db
198 changed files with 688 additions and 532 deletions
@@ -261,9 +261,9 @@ struct HomeScreen: View {
Button {
context.send(viewAction: .startChat)
} label: {
Image(systemName: "square.and.pencil")
.fontWeight(.semibold)
CompoundIcon(customImage: Asset.Images.compose.swiftUIImage)
}
.accessibilityLabel(L10n.actionStartChat)
.accessibilityIdentifier(A11yIdentifiers.homeScreen.startChat)
}
@@ -36,7 +36,7 @@ struct HomeScreenEmptyStateView: View {
.padding(.bottom, 12)
Button { context.send(viewAction: .startChat) } label: {
Label(L10n.actionStartChat, systemImage: "square.and.pencil")
Label(L10n.actionStartChat, iconAsset: Asset.Images.compose)
.font(.compound.bodyLGSemibold)
.foregroundColor(.compound.textOnSolidPrimary)
.padding(.vertical, 6)
@@ -143,12 +143,10 @@ struct HomeScreenRoomCell: View {
case .none, .allMessages:
EmptyView()
case .mentionsAndKeywordsOnly:
CompoundIcon(\.mention)
.font(.system(size: 15))
CompoundIcon(\.mention, size: .custom(15), relativeTo: .compound.bodyMD)
.accessibilityLabel(L10n.a11yNotificationsMentionsOnly)
case .mute:
CompoundIcon(\.notificationsSolidOff)
.font(.system(size: 15))
CompoundIcon(\.notificationsSolidOff, size: .custom(15), relativeTo: .compound.bodyMD)
.accessibilityLabel(L10n.a11yNotificationsMuted)
}
}