Skip to content

Commit 3342193

Browse files
author
Johnny Lin
committed
Sign Out menu item should be red with clear background, bump build number
1 parent 25b3b5e commit 3342193

File tree

2 files changed

+17
-15
lines changed

2 files changed

+17
-15
lines changed

LockdowniOS.xcodeproj/project.pbxproj

+12-12
Original file line numberDiff line numberDiff line change
@@ -2202,7 +2202,7 @@
22022202
CODE_SIGN_IDENTITY = "iPhone Developer";
22032203
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
22042204
CODE_SIGN_STYLE = Automatic;
2205-
CURRENT_PROJECT_VERSION = 2;
2205+
CURRENT_PROJECT_VERSION = 3;
22062206
DEVELOPMENT_TEAM = V8J3Z26F6Z;
22072207
FRAMEWORK_SEARCH_PATHS = (
22082208
"$(inherited)",
@@ -2234,7 +2234,7 @@
22342234
CODE_SIGN_IDENTITY = "iPhone Developer";
22352235
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
22362236
CODE_SIGN_STYLE = Automatic;
2237-
CURRENT_PROJECT_VERSION = 2;
2237+
CURRENT_PROJECT_VERSION = 3;
22382238
DEVELOPMENT_TEAM = V8J3Z26F6Z;
22392239
FRAMEWORK_SEARCH_PATHS = (
22402240
"$(inherited)",
@@ -2314,7 +2314,7 @@
23142314
CODE_SIGN_IDENTITY = "iPhone Developer";
23152315
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
23162316
CODE_SIGN_STYLE = Automatic;
2317-
CURRENT_PROJECT_VERSION = 2;
2317+
CURRENT_PROJECT_VERSION = 3;
23182318
DEVELOPMENT_TEAM = V8J3Z26F6Z;
23192319
GCC_C_LANGUAGE_STANDARD = gnu11;
23202320
INFOPLIST_FILE = LockdownFirewallWidget/Info.plist;
@@ -2344,7 +2344,7 @@
23442344
CODE_SIGN_IDENTITY = "iPhone Developer";
23452345
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
23462346
CODE_SIGN_STYLE = Automatic;
2347-
CURRENT_PROJECT_VERSION = 2;
2347+
CURRENT_PROJECT_VERSION = 3;
23482348
DEVELOPMENT_TEAM = V8J3Z26F6Z;
23492349
GCC_C_LANGUAGE_STANDARD = gnu11;
23502350
INFOPLIST_FILE = LockdownFirewallWidget/Info.plist;
@@ -2486,7 +2486,7 @@
24862486
CODE_SIGN_IDENTITY = "iPhone Developer";
24872487
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
24882488
CODE_SIGN_STYLE = Automatic;
2489-
CURRENT_PROJECT_VERSION = 2;
2489+
CURRENT_PROJECT_VERSION = 3;
24902490
DEVELOPMENT_TEAM = V8J3Z26F6Z;
24912491
ENABLE_BITCODE = NO;
24922492
FRAMEWORK_SEARCH_PATHS = (
@@ -2521,7 +2521,7 @@
25212521
CODE_SIGN_IDENTITY = "iPhone Developer";
25222522
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
25232523
CODE_SIGN_STYLE = Automatic;
2524-
CURRENT_PROJECT_VERSION = 2;
2524+
CURRENT_PROJECT_VERSION = 3;
25252525
DEVELOPMENT_TEAM = V8J3Z26F6Z;
25262526
ENABLE_BITCODE = NO;
25272527
FRAMEWORK_SEARCH_PATHS = (
@@ -2562,7 +2562,7 @@
25622562
CODE_SIGN_IDENTITY = "iPhone Developer";
25632563
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
25642564
CODE_SIGN_STYLE = Automatic;
2565-
CURRENT_PROJECT_VERSION = 2;
2565+
CURRENT_PROJECT_VERSION = 3;
25662566
DEVELOPMENT_TEAM = V8J3Z26F6Z;
25672567
FRAMEWORK_SEARCH_PATHS = (
25682568
"$(inherited)",
@@ -2600,7 +2600,7 @@
26002600
CODE_SIGN_IDENTITY = "iPhone Developer";
26012601
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
26022602
CODE_SIGN_STYLE = Automatic;
2603-
CURRENT_PROJECT_VERSION = 2;
2603+
CURRENT_PROJECT_VERSION = 3;
26042604
DEVELOPMENT_TEAM = V8J3Z26F6Z;
26052605
FRAMEWORK_SEARCH_PATHS = (
26062606
"$(inherited)",
@@ -2631,7 +2631,7 @@
26312631
CODE_SIGN_IDENTITY = "iPhone Developer";
26322632
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
26332633
CODE_SIGN_STYLE = Automatic;
2634-
CURRENT_PROJECT_VERSION = 2;
2634+
CURRENT_PROJECT_VERSION = 3;
26352635
DEVELOPMENT_TEAM = V8J3Z26F6Z;
26362636
GCC_C_LANGUAGE_STANDARD = gnu11;
26372637
INFOPLIST_FILE = "Lockdown Blocker/Info.plist";
@@ -2657,7 +2657,7 @@
26572657
CODE_SIGN_IDENTITY = "iPhone Developer";
26582658
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
26592659
CODE_SIGN_STYLE = Automatic;
2660-
CURRENT_PROJECT_VERSION = 2;
2660+
CURRENT_PROJECT_VERSION = 3;
26612661
DEVELOPMENT_TEAM = V8J3Z26F6Z;
26622662
GCC_C_LANGUAGE_STANDARD = gnu11;
26632663
INFOPLIST_FILE = "Lockdown Blocker/Info.plist";
@@ -2685,7 +2685,7 @@
26852685
CODE_SIGN_IDENTITY = "iPhone Developer";
26862686
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
26872687
CODE_SIGN_STYLE = Automatic;
2688-
CURRENT_PROJECT_VERSION = 2;
2688+
CURRENT_PROJECT_VERSION = 3;
26892689
DEVELOPMENT_TEAM = V8J3Z26F6Z;
26902690
FRAMEWORK_SEARCH_PATHS = (
26912691
"$(inherited)",
@@ -2717,7 +2717,7 @@
27172717
CODE_SIGN_IDENTITY = "iPhone Developer";
27182718
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
27192719
CODE_SIGN_STYLE = Automatic;
2720-
CURRENT_PROJECT_VERSION = 2;
2720+
CURRENT_PROJECT_VERSION = 3;
27212721
DEVELOPMENT_TEAM = V8J3Z26F6Z;
27222722
FRAMEWORK_SEARCH_PATHS = (
27232723
"$(inherited)",

LockdowniOS/AccountVC.swift

+5-3
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ final class AccountViewController: BaseViewController, Loadable {
5151
self?.reloadTable()
5252
}
5353
}
54+
firstButton.backgroundView = UIView()
55+
firstButton.backgroundView?.backgroundColor = UIColor.tunnelsBlue
56+
firstButton.label.textColor = UIColor.white
5457

5558
if let apiCredentials = getAPICredentials() {
5659
message = apiCredentials.email
@@ -82,6 +85,8 @@ final class AccountViewController: BaseViewController, Loadable {
8285
])
8386
self.present(confirm, animated: true, completion: nil)
8487
}
88+
firstButton.backgroundView?.backgroundColor = UIColor.clear
89+
firstButton.label.textColor = UIColor.systemRed
8590
}
8691
else {
8792
title = "⚠️ Email Not Confirmed"
@@ -185,9 +190,6 @@ final class AccountViewController: BaseViewController, Loadable {
185190
}
186191
}
187192
}
188-
firstButton.backgroundView = UIView()
189-
firstButton.backgroundView?.backgroundColor = UIColor.tunnelsBlue
190-
firstButton.label.textColor = UIColor.white
191193

192194
let upgradeButton = DefaultButtonCell(title: "Loading Plan", height: buttonHeight, dismissOnTap: true) {
193195
self.performSegue(withIdentifier: "showUpgradePlan", sender: self)

0 commit comments

Comments
 (0)