Skip to content

Commit 435b4e3

Browse files
Samanyu Goyalcursoragent
authored andcommitted
Clean up Moss Pikachu UserSettings storage key handling.
Use a single moss.pikachu.userSettings UserDefaults key without a redundant legacy duplicate. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 2ad410c commit 435b4e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/moss-pikachu/MossPikachu/Models/UserSettings.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ nonisolated struct UserSettings: Codable, Equatable, Sendable {
1414
var indexICloudDrive: Bool = false
1515

1616
nonisolated private static let storageKey = "moss.pikachu.userSettings"
17-
17+
1818
nonisolated static func load() -> UserSettings {
1919
guard let data = UserDefaults.standard.data(forKey: storageKey),
2020
let settings = try? JSONDecoder().decode(UserSettings.self, from: data) else {

0 commit comments

Comments
 (0)