From 9895aa9f1b3283ab37177bcfadf0549862f98b5e Mon Sep 17 00:00:00 2001 From: mojganii Date: Mon, 13 Jan 2025 10:39:52 +0100 Subject: [PATCH] Update Direct only pop up design --- .../Settings/DAITA/DAITASettingsPromptItem.swift | 2 +- .../Settings/SettingsViewControllerFactory.swift | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ios/MullvadVPN/Coordinators/Settings/DAITA/DAITASettingsPromptItem.swift b/ios/MullvadVPN/Coordinators/Settings/DAITA/DAITASettingsPromptItem.swift index 1e71ed4b5b89..df79efea893d 100644 --- a/ios/MullvadVPN/Coordinators/Settings/DAITA/DAITASettingsPromptItem.swift +++ b/ios/MullvadVPN/Coordinators/Settings/DAITA/DAITASettingsPromptItem.swift @@ -23,7 +23,7 @@ enum DAITASettingsPromptItem: CustomStringConvertible { case .daita: "DAITA" case .directOnly: - "direct only" + "Direct only" } } } diff --git a/ios/MullvadVPN/Coordinators/Settings/SettingsViewControllerFactory.swift b/ios/MullvadVPN/Coordinators/Settings/SettingsViewControllerFactory.swift index f93ebba2dc23..69a7127d2845 100644 --- a/ios/MullvadVPN/Coordinators/Settings/SettingsViewControllerFactory.swift +++ b/ios/MullvadVPN/Coordinators/Settings/SettingsViewControllerFactory.swift @@ -142,7 +142,7 @@ struct SettingsViewControllerFactory { let presentation = AlertPresentation( id: "settings-daita-prompt", accessibilityIdentifier: .daitaPromptAlert, - icon: .info, + icon: .warning, message: NSLocalizedString( "SETTINGS_DAITA_ENABLE_TEXT", tableName: "DAITA", @@ -154,7 +154,7 @@ struct SettingsViewControllerFactory { title: String(format: NSLocalizedString( "SETTINGS_DAITA_ENABLE_OK_ACTION", tableName: "DAITA", - value: "Enable %@", + value: "Enable \"%@\"", comment: "" ), item.title), style: .default, @@ -165,7 +165,7 @@ struct SettingsViewControllerFactory { title: NSLocalizedString( "SETTINGS_DAITA_ENABLE_CANCEL_ACTION", tableName: "DAITA", - value: "Back", + value: "Cancel", comment: "" ), style: .default,