Skip to content

Commit 6f68289

Browse files
committed
categorize private vars correctly
1 parent 883b8c4 commit 6f68289

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

swift-sdk/Internal/KeychainWrapper.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class KeychainWrapper {
6868
return status == errSecSuccess
6969
}
7070

71-
private let serviceName: String
71+
// MARK: - PRIVATE/INTERNAL
7272

7373
private func setupKeychainQueryDictionary(forKey key: String) -> [String: Any] {
7474
// Setup default access as generic password (rather than a certificate, internet password, etc)
@@ -89,8 +89,6 @@ class KeychainWrapper {
8989
return keychainQueryDictionary
9090
}
9191

92-
// MARK: - PRIVATE/INTERNAL
93-
9492
private func update(_ value: Data, forKey key: String) -> Bool {
9593
let keychainQueryDictionary: [String: Any] = setupKeychainQueryDictionary(forKey: key)
9694
let updateDictionary = [SecValueData: value]
@@ -101,6 +99,7 @@ class KeychainWrapper {
10199
return status == errSecSuccess
102100
}
103101

102+
private let serviceName: String
104103
private let SecValueData = kSecValueData as String
105104
private let SecAttrAccessible: String = kSecAttrAccessible as String
106105
private let SecAttrAccessibleWhenUnlocked = kSecAttrAccessibleWhenUnlocked

0 commit comments

Comments
 (0)