This repository was archived by the owner on Feb 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -137,10 +137,6 @@ public struct WordPressAuthenticatorConfiguration {
137137 /// UserAgent
138138 ///
139139 let userAgent : String
140-
141- /// Used to determine which view to use for new Support notifications.
142- ///
143- let supportNotificationIndicatorFeatureFlag : Bool
144140
145141 /// Designated Initializer
146142 ///
@@ -150,16 +146,14 @@ public struct WordPressAuthenticatorConfiguration {
150146 wpcomTermsOfServiceURL: String ,
151147 googleLoginClientId: String ,
152148 googleLoginServerClientId: String ,
153- userAgent: String ,
154- supportNotificationIndicatorFeatureFlag: Bool ) {
149+ userAgent: String ) {
155150 self . wpcomClientId = wpcomClientId
156151 self . wpcomSecret = wpcomSecret
157152 self . wpcomScheme = wpcomScheme
158153 self . wpcomTermsOfServiceURL = wpcomTermsOfServiceURL
159154 self . googleLoginClientId = googleLoginClientId
160155 self . googleLoginServerClientId = googleLoginServerClientId
161156 self . userAgent = userAgent
162- self . supportNotificationIndicatorFeatureFlag = supportNotificationIndicatorFeatureFlag
163157 }
164158}
165159
Original file line number Diff line number Diff line change @@ -9,13 +9,7 @@ private enum Constants {
99 static let helpButtonItemMinimumSize = CGSize ( width: 44.0 , height: 44.0 )
1010
1111 static let notificationIndicatorCenterOffset = CGPoint ( x: 5 , y: 12 )
12- static var notificationIndicatorSize : CGSize {
13- if WordPressAuthenticator . shared. configuration. supportNotificationIndicatorFeatureFlag == true {
14- return CGSize ( width: 10 , height: 10 )
15- } else {
16- return CGSize ( width: 12 , height: 12 )
17- }
18- }
12+ static var notificationIndicatorSize = CGSize ( width: 10 , height: 10 )
1913}
2014
2115/// base protocol for NUX view controllers
You can’t perform that action at this time.
0 commit comments