Skip to content

Commit

Permalink
chore: fix lint on main (#678)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shahroz16 authored Mar 29, 2024
2 parents 910cbf1 + 311f95a commit 175bd87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Apps/VisionOS/VisionOS/MainScreen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@ import CioDataPipelines
import MarkdownUI
import SwiftUI

// MARK: MainScreen View

/**
This file is the main place for example CustomerIO usage
Its main objectives are:
- Basic logic to switch between different view
- Show all the calls to CustomerIO in one place for simplicity
*/

// MARK: MainScreen View

private func getFirstScreen() -> CIOExample {
let state = AppState.shared
if state.workspaceSettings.isSet(), state.profile.loggedIn {
Expand Down
3 changes: 1 addition & 2 deletions Apps/VisionOS/VisionOS/Storage/UserDefaultsCodable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ extension UserDefaultsCodable {
static func loadFromStorage() -> Self {
if let data =
UserDefaults.standard.object(forKey: storageKey()) as? Data,
let storedInstance = from(data)
{
let storedInstance = from(data) {
return storedInstance
}

Expand Down

0 comments on commit 175bd87

Please sign in to comment.