mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 23:18:27 +02:00
feat: small fixes (MESSENGER-7565)
This commit is contained in:
@@ -38,13 +38,7 @@ enum SharedKeychain {
|
||||
let data = value.data(using: .utf8)!
|
||||
|
||||
// Delete existing item first
|
||||
let deleteQuery: [String: Any] = [
|
||||
kSecClass as String: kSecClassGenericPassword,
|
||||
kSecAttrAccount as String: account,
|
||||
kSecAttrService as String: SharedKeychainConfig.service,
|
||||
kSecAttrAccessGroup as String: SharedKeychainConfig.sharedGroup
|
||||
]
|
||||
SecItemDelete(deleteQuery as CFDictionary)
|
||||
SharedKeychain.delete(account: account)
|
||||
|
||||
// Add new value
|
||||
let addQuery: [String: Any] = [
|
||||
|
||||
Reference in New Issue
Block a user