Browse Source

Spell check.

pull/113/head
Abhishek 2 years ago
parent
commit
c9ec6bcc69
  1. 2
      Clocker/AppDelegate.swift
  2. 2
      Clocker/ClockerUITests/OnboardingSearchTests.swift
  3. 2
      Clocker/ClockerUITests/OnboardingTests.swift
  4. 4
      Clocker/Onboarding/OnboardingParentViewController.swift
  5. 2
      Clocker/Overall App/Strings.swift

2
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)

2
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

2
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()
}

4
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
}

2
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"

Loading…
Cancel
Save