Skip to content

Commit

Permalink
Spell check.
Browse files Browse the repository at this point in the history
  • Loading branch information
n0shake committed Jul 26, 2022
1 parent f712596 commit c9ec6bc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Clocker/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion Clocker/ClockerUITests/OnboardingSearchTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Clocker/ClockerUITests/OnboardingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class OnboardingTests: XCTestCase {
override func setUp() {
continueAfterFailure = false
app = XCUIApplication()
app.launchArguments.append(CLOnboaringTestsLaunchArgument)
app.launchArguments.append(CLOnboardingTestsLaunchArgument)
app.launch()
}

Expand Down
4 changes: 2 additions & 2 deletions Clocker/Onboarding/OnboardingParentViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion Clocker/Overall App/Strings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c9ec6bc

Please sign in to comment.