diff --git a/Session/Meta/AppDelegate.swift b/Session/Meta/AppDelegate.swift index b010b0cbb..1f728c06e 100644 --- a/Session/Meta/AppDelegate.swift +++ b/Session/Meta/AppDelegate.swift @@ -32,7 +32,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Just in case we are running automated tests we should process environment variables // before we do anything else - DeveloperSettingsViewModel.processUnitTestEnvVaraiblesIfNeeded() + DeveloperSettingsViewModel.processUnitTestEnvVariablesIfNeeded() Log.info("[AppDelegate] didFinishLaunchingWithOptions called.") startTime = CACurrentMediaTime() diff --git a/Session/Settings/DeveloperSettingsViewModel.swift b/Session/Settings/DeveloperSettingsViewModel.swift index 2b418559f..f172b7361 100644 --- a/Session/Settings/DeveloperSettingsViewModel.swift +++ b/Session/Settings/DeveloperSettingsViewModel.swift @@ -553,7 +553,7 @@ class DeveloperSettingsViewModel: SessionTableViewModel, NavigatableStateHolder, // MARK: - Automated Test Convenience extension DeveloperSettingsViewModel { - static func processUnitTestEnvVaraiblesIfNeeded() { + static func processUnitTestEnvVariablesIfNeeded() { #if targetEnvironment(simulator) enum EnvironmentVariable: String { case animationsEnabled