From 6774697c1744bdba43e5d8ab339a1005f45ebac4 Mon Sep 17 00:00:00 2001 From: Letro Bot Date: Tue, 14 Apr 2026 17:40:16 +0400 Subject: [PATCH] Change a few links in AppSettings --- .../Sources/Application/Settings/AppSettings.swift | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ElementX/Sources/Application/Settings/AppSettings.swift b/ElementX/Sources/Application/Settings/AppSettings.swift index ba61f7900..9f852356e 100644 --- a/ElementX/Sources/Application/Settings/AppSettings.swift +++ b/ElementX/Sources/Application/Settings/AppSettings.swift @@ -224,15 +224,15 @@ final class AppSettings { /// A URL where users can go read more about identity pinning violations private(set) var identityPinningViolationDetailsURL: URL = "https://letro.com/help#encryption18" /// A URL describing how history sharing works - private(set) var historySharingDetailsURL: URL = "https://letro.com/en/help#e2ee-history-sharing" + private(set) var historySharingDetailsURL: URL = "https://letro.com/help#e2ee-history-sharing" /// Any domains that Element web may be hosted on - used for handling links. - private(set) var elementWebHosts = ["app.element.io", "staging.element.io", "develop.element.io"] + private(set) var elementWebHosts = ["app.letro.com", "staging.letro.com", "develop.letro.com"] /// The domain that account provisioning links will be hosted on - used for handling the links. - private(set) var accountProvisioningHost = "mobile.element.io" + private(set) var accountProvisioningHost = "mobile.letro.com" /// The App Store URL for Element Pro, shown to the user when a homeserver requires that app. /// **Note:** This property isn't overridable as it in unexpected for forks to come across the error (or to even have a "Pro" app). - let elementProAppStoreURL: URL = "https://apps.apple.com/app/element-pro-for-work/id6502951615" + let elementProAppStoreURL: URL = "https://apps.apple.com/app/letro-pro/id6758909629" @UserPreference(key: UserDefaultsKeys.appAppearance, defaultValue: .system, storageType: .userDefaults(store)) var appAppearance: AppAppearance @@ -279,7 +279,7 @@ final class AppSettings { #endif } - private(set) var pushGatewayBaseURL: URL = "https://matrix.org" + private(set) var pushGatewayBaseURL: URL = "https://letro.com" var pushGatewayNotifyEndpoint: URL { pushGatewayBaseURL.appending(path: "_matrix/push/v1/notify") } @@ -318,14 +318,14 @@ final class AppSettings { let bugReportSentryURL: URL? = Secrets.sentryDSN.map { URL(string: $0)! } // swiftlint:disable:this force_unwrapping let bugReportSentryRustURL: URL? = Secrets.sentryRustDSN.map { URL(string: $0)! } // swiftlint:disable:this force_unwrapping /// The name allocated by the bug report server - private(set) var bugReportApplicationID = "element-x-ios" + private(set) var bugReportApplicationID = "letro" // MARK: - Analytics /// The configuration to use for analytics. Set to `nil` to disable analytics. let analyticsConfiguration: AnalyticsConfiguration? = AppSettings.makeAnalyticsConfiguration() /// The URL to open with more information about analytics terms. When this is `nil` the "Learn more" link will be hidden. - private(set) var analyticsTermsURL: URL? = "https://element.io/cookie-policy" + private(set) var analyticsTermsURL: URL? = "https://letro.com/cookie-policy" /// Whether or not there the app is able ask for user consent to enable analytics or sentry reporting. var canPromptForAnalytics: Bool { analyticsConfiguration != nil || bugReportSentryURL != nil