Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BomberFish committed Jul 12, 2023
1 parent d0c3505 commit 921acad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AppCommander/AppCommanderApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ struct AppCommanderApp: App {
init() {
/// This initializes analytics from TelemetryDeck. By default the API keys are not included in the public source release. You can supply your own by setting the `telemetryDeckID` variable. It is recommended to store it in a file named `APIKeys.swift` in the top-level directory of the repository, as the path is included in the gitignore.
if telemetryDeckID != nil {
print("AppCommander v\(appVersion)", loglevel: .info)
if analyticsEnabled {
//initialize analytics
print("Initializing Analytics...", loglevel: .info, logger: analyticsLogger)
Expand Down Expand Up @@ -139,7 +140,6 @@ struct AppCommanderApp: App {
}
}
.task(priority: .high) {
print("AppCommander v\(appVersion)", loglevel: .info, logger: logger)

DispatchQueue.global(qos: .background).sync {
Whitelist.top_secret_sauce { baked_goods in
Expand Down
2 changes: 1 addition & 1 deletion AppCommander/Views/Navigation/MainView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import SwiftUI
struct MainView: View {
@State private var searchText = ""
@State var debugEnabled: Bool = UserDefaults.standard.bool(forKey: "DebugEnabled")
@State var gridEnabled: Bool = false
@AppStorage("gridEnabled") var gridEnabled: Bool = false
@State var compactEnabled: Bool = UserDefaults.standard.bool(forKey: "compactEnabled")

// MARK: - Literally the worst code ever. Will I fix it? No!
Expand Down

0 comments on commit 921acad

Please sign in to comment.