File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed
Expand file tree Collapse file tree 2 files changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ import Foundation
33
44/// WooCommerce Constants
55///
6- struct WooConstants {
6+ enum WooConstants {
77
8- /// Private: No-OP!
8+ /// Keychain Access's Service Name
99 ///
10- private init ( ) { }
10+ static let keychainServiceName = " com.automattic.woocommerce "
1111
1212 /// Jetpack Setup URL
1313 ///
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ class StoresManager {
99
1010 /// Shared Instance
1111 ///
12- static var shared = StoresManager ( defaults: . standard, keychainServiceName: Settings . keychainServiceName)
12+ static var shared = StoresManager ( defaults: . standard, keychainServiceName: WooConstants . keychainServiceName)
1313
1414 /// SessionManager: Persistent Storage for Session-Y Properties.
1515 ///
@@ -81,18 +81,6 @@ private extension StoresManager {
8181}
8282
8383
84- // MARK: - Nested Types
85- //
86- private extension StoresManager {
87-
88- /// Default Settings.
89- ///
90- enum Settings {
91- static let keychainServiceName = " com.automattic.woocommerce "
92- }
93- }
94-
95-
9684// MARK: - StoresManagerState
9785//
9886protocol StoresManagerState {
You can’t perform that action at this time.
0 commit comments