mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Update room notification settings mismatch screen (#1733)
This commit is contained in:
@@ -301,7 +301,7 @@
|
||||
"screen_notification_settings_additional_settings_section_title" = "Additional settings";
|
||||
"screen_notification_settings_calls_label" = "Audio and video calls";
|
||||
"screen_notification_settings_configuration_mismatch" = "Configuration mismatch";
|
||||
"screen_notification_settings_configuration_mismatch_description" = "We’ve simplified Notifications Settings to make options easier to find.\n\nSome custom settings you’ve chosen in the past are not shown here, but they’re still active.\n\nIf you proceed, some of your settings may change.";
|
||||
"screen_notification_settings_configuration_mismatch_description" = "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.\n\nIf you proceed, some of your settings may change.";
|
||||
"screen_notification_settings_direct_chats" = "Direct chats";
|
||||
"screen_notification_settings_edit_custom_settings_section_title" = "Custom setting per chat";
|
||||
"screen_notification_settings_edit_failed_updating_default_mode" = "An error occurred while updating the notification setting.";
|
||||
|
||||
@@ -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