From c9ec6bcc6901651be571d74b1dc832630b60f274 Mon Sep 17 00:00:00 2001 From: Abhishek Date: Mon, 25 Jul 2022 23:00:47 -0400 Subject: [PATCH] Spell check. --- Clocker/AppDelegate.swift | 2 +- Clocker/ClockerUITests/OnboardingSearchTests.swift | 2 +- Clocker/ClockerUITests/OnboardingTests.swift | 2 +- Clocker/Onboarding/OnboardingParentViewController.swift | 4 ++-- Clocker/Overall App/Strings.swift | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Clocker/AppDelegate.swift b/Clocker/AppDelegate.swift index 6f265dab..d2f91694 100644 --- a/Clocker/AppDelegate.swift +++ b/Clocker/AppDelegate.swift @@ -91,7 +91,7 @@ open class AppDelegate: NSObject, NSApplicationDelegate { private var controller: OnboardingController? private func showOnboardingFlowIfEligible() { - let isTestInProgress = ProcessInfo.processInfo.arguments.contains(CLOnboaringTestsLaunchArgument) + let isTestInProgress = ProcessInfo.processInfo.arguments.contains(CLOnboardingTestsLaunchArgument) let shouldLaunchOnboarding = (DataStore.shared().retrieve(key: CLShowOnboardingFlow) == nil && DataStore.shared().timezones().isEmpty) diff --git a/Clocker/ClockerUITests/OnboardingSearchTests.swift b/Clocker/ClockerUITests/OnboardingSearchTests.swift index 87f2bfd2..8e38e246 100644 --- a/Clocker/ClockerUITests/OnboardingSearchTests.swift +++ b/Clocker/ClockerUITests/OnboardingSearchTests.swift @@ -10,7 +10,7 @@ class OnboardingSearchTests: XCTestCase { continueAfterFailure = false app = XCUIApplication() - app.launchArguments.append(CLOnboaringTestsLaunchArgument) + app.launchArguments.append(CLOnboardingTestsLaunchArgument) app.launch() // Let's go to the Search View diff --git a/Clocker/ClockerUITests/OnboardingTests.swift b/Clocker/ClockerUITests/OnboardingTests.swift index e97b8b07..f857f695 100644 --- a/Clocker/ClockerUITests/OnboardingTests.swift +++ b/Clocker/ClockerUITests/OnboardingTests.swift @@ -10,7 +10,7 @@ class OnboardingTests: XCTestCase { override func setUp() { continueAfterFailure = false app = XCUIApplication() - app.launchArguments.append(CLOnboaringTestsLaunchArgument) + app.launchArguments.append(CLOnboardingTestsLaunchArgument) app.launch() } diff --git a/Clocker/Onboarding/OnboardingParentViewController.swift b/Clocker/Onboarding/OnboardingParentViewController.swift index 80d7c68e..b3f2b309 100644 --- a/Clocker/Onboarding/OnboardingParentViewController.swift +++ b/Clocker/Onboarding/OnboardingParentViewController.swift @@ -220,7 +220,7 @@ class OnboardingParentViewController: NSViewController { view.window?.close() - if ProcessInfo.processInfo.arguments.contains(CLOnboaringTestsLaunchArgument) == false { + if ProcessInfo.processInfo.arguments.contains(CLOnboardingTestsLaunchArgument) == false { UserDefaults.standard.set(true, forKey: CLShowOnboardingFlow) } @@ -317,7 +317,7 @@ class OnboardingParentViewController: NSViewController { private func shouldStartAtLogin(_ shouldStart: Bool) { // If tests are going on, we don't want to enable/disable launch at login! - if ProcessInfo.processInfo.arguments.contains(CLOnboaringTestsLaunchArgument) { + if ProcessInfo.processInfo.arguments.contains(CLOnboardingTestsLaunchArgument) { return } diff --git a/Clocker/Overall App/Strings.swift b/Clocker/Overall App/Strings.swift index 8a104546..bd3fd719 100644 --- a/Clocker/Overall App/Strings.swift +++ b/Clocker/Overall App/Strings.swift @@ -30,7 +30,7 @@ let CLShowOnboardingFlow = "com.abhishek.showOnboardingFlow" let CLAppDisplayOptions = "com.abhishek.appDisplayOptions" let CLLongStatusBarWarningMessage = "com.abhishek.longStatusBarWarning" let CLUITestingLaunchArgument = "isUITesting" -let CLOnboaringTestsLaunchArgument = "isTestingTheOnboardingFlow" +let CLOnboardingTestsLaunchArgument = "isTestingTheOnboardingFlow" let CLMenubarCompactMode = "com.abhishek.menubarCompactMode" let CLDefaultMenubarMode = "com.abhishek.shouldDefaultToCompactMode" let CLInstallHomeIndicatorObject = "installHomeIndicatorObject"