Ariver
2026-06-07 9f15087ff92afad0508a24d8803e8e8775359d09
Apptag/AppDefaults.swift
@@ -5,13 +5,14 @@
    static let currentSchemaVersion = 3
    static let tagFontSize: Double = 22
    static let iconSize: Double = 80
    static let iconSize: Double = 64
    static let tagPosition = "right"
    static let displayMode = "coloredGridContainer"
    static let hideAppNames = true
    static let showDockIcon = true
    static let launchAtLogin = true
    static let showUncommonAppBubbles = false
    static let useAppKitTagNavigation = true
    static func register() {
        UserDefaults.standard.register(defaults: [
@@ -23,6 +24,9 @@
            "showDockIcon": showDockIcon,
            "launchAtLogin": launchAtLogin,
            "showUncommonAppBubbles": showUncommonAppBubbles,
            "useAppKitTagNavigation": useAppKitTagNavigation,
            "skipTagRemovalDropConfirm": false,
            "skipUncategorizedDropConfirm": false,
            LauncherHotkeyRegistrationStore.mainStateKey: LauncherHotkeyRegistrationState.active.rawValue,
            LauncherHotkeyRegistrationStore.quickSearchStateKey: LauncherHotkeyRegistrationState.active.rawValue
        ])
@@ -30,7 +34,7 @@
    }
    static func hasStoredValue(for key: String) -> Bool {
        let domain = Bundle.main.bundleIdentifier ?? "com.apptag.launcher"
        let domain = Bundle.main.bundleIdentifier ?? AppIdentity.bundleIdentifier
        return UserDefaults.standard.persistentDomain(forName: domain)?[key] != nil
    }