mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Update room notification settings mismatch screen (#1733)
This commit is contained in:
@@ -762,9 +762,7 @@ public enum L10n {
|
||||
public static var screenNotificationSettingsCallsLabel: String { return L10n.tr("Localizable", "screen_notification_settings_calls_label") }
|
||||
/// Configuration mismatch
|
||||
public static var screenNotificationSettingsConfigurationMismatch: String { return L10n.tr("Localizable", "screen_notification_settings_configuration_mismatch") }
|
||||
/// We’ve simplified Notifications Settings to make options easier to find.
|
||||
///
|
||||
/// Some custom settings you’ve chosen in the past are not shown here, but they’re still active.
|
||||
/// We’ve simplified Notifications Settings to make options easier to find. Some custom settings you’ve chosen in the past are not shown here, but they’re still active.
|
||||
///
|
||||
/// If you proceed, some of your settings may change.
|
||||
public static var screenNotificationSettingsConfigurationMismatchDescription: String { return L10n.tr("Localizable", "screen_notification_settings_configuration_mismatch_description") }
|
||||
|
||||
+5
-6
@@ -156,13 +156,12 @@ struct NotificationSettingsScreen: View {
|
||||
private var configurationMismatchSection: some View {
|
||||
Section {
|
||||
ListRow(kind: .custom {
|
||||
VStack(alignment: .leading, spacing: 12) {
|
||||
Image(systemName: "gearshape")
|
||||
.font(.compound.headingSMSemibold)
|
||||
VStack(alignment: .leading, spacing: 4) {
|
||||
VStack(alignment: .leading, spacing: 16) {
|
||||
VStack(alignment: .leading, spacing: 8) {
|
||||
Text(L10n.screenNotificationSettingsConfigurationMismatch)
|
||||
.font(.compound.headingSMSemibold)
|
||||
.font(.compound.bodyLGSemibold)
|
||||
Text(L10n.screenNotificationSettingsConfigurationMismatchDescription)
|
||||
.font(.compound.bodyMD)
|
||||
.foregroundColor(.compound.textSecondary)
|
||||
}
|
||||
Button {
|
||||
@@ -175,7 +174,7 @@ struct NotificationSettingsScreen: View {
|
||||
.accessibilityIdentifier(A11yIdentifiers.notificationSettingsScreen.fixMismatchConfiguration)
|
||||
}
|
||||
.padding(.horizontal, ListRowPadding.horizontal)
|
||||
.padding(.vertical, ListRowPadding.vertical)
|
||||
.padding(.vertical, 24)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user