Skip to content

Commit

Permalink
Remove user defaults storage for client token
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewc committed Feb 16, 2024
1 parent f734a0a commit 3774b87
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ class SettingsModel: ObservableObject {
case clientTokenUrl = "CLIENT_TOKEN_URL"
}

@Published var clientToken: String = "" {
didSet {
UserDefaults.standard.setValue(clientToken, forKey: Key.clientToken.rawValue)
}
}
@Published var clientToken: String = ""

@Published var clientTokenUrl: String = "" {
didSet {
Expand Down

0 comments on commit 3774b87

Please sign in to comment.