From 9f00ca62057228835f2d6f86417f55e1820267af Mon Sep 17 00:00:00 2001 From: InKwon James Kim Date: Mon, 7 Oct 2019 14:55:49 +0900 Subject: [PATCH] changed debug alert tint color --- GME Remit.xcodeproj/project.pbxproj | 2 +- GME Remit/Extensions/UIViewController+Ext.swift | 2 +- .../User Interface/View/LauncherScreen.storyboard | 2 +- GME Remit/Utilities/DebugManager.swift | 4 +++- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/GME Remit.xcodeproj/project.pbxproj b/GME Remit.xcodeproj/project.pbxproj index 55bdfa41..a59bee8f 100644 --- a/GME Remit.xcodeproj/project.pbxproj +++ b/GME Remit.xcodeproj/project.pbxproj @@ -7674,7 +7674,6 @@ D907AB96212AA8A300915A87 /* Modules */ = { isa = PBXGroup; children = ( - 73A6211E233073D2000FFB5B /* RemittanceModules */, FF6E7D7921BF951D00A003B9 /* AppUpdate */, BE74AF8E227C8FF100F05CE7 /* AutoDebitModules */, 736A8C262277EAC100337A50 /* BiometricAuthModules */, @@ -7689,6 +7688,7 @@ 9F3ADCE62004B80F0037A3A3 /* Profile */, 9F9DF0CA1FEBC0A0005B8F42 /* RecipientModules */, 73138D9322B7509F001280D3 /* RegisterModules */, + 73A6211E233073D2000FFB5B /* RemittanceModules */, 730D784F227A94E1007E517E /* RewardModules */, 042E6EFB203EAE3A004667A1 /* SideMenu */, D96A4FBF21460B4900CFD507 /* SplashScreen */, diff --git a/GME Remit/Extensions/UIViewController+Ext.swift b/GME Remit/Extensions/UIViewController+Ext.swift index 27f48ba8..56b7886c 100644 --- a/GME Remit/Extensions/UIViewController+Ext.swift +++ b/GME Remit/Extensions/UIViewController+Ext.swift @@ -530,7 +530,7 @@ extension UIViewController { handler: nil ) ) - alert.view.tintColor = UIColor.darkGray + alert.view.tintColor = .themeText if UIDevice.current.userInterfaceIdiom == .pad { if let popoverController = alert.popoverPresentationController { diff --git a/GME Remit/Modules/LauncherScreen/User Interface/View/LauncherScreen.storyboard b/GME Remit/Modules/LauncherScreen/User Interface/View/LauncherScreen.storyboard index d5d1b4cb..0283b563 100644 --- a/GME Remit/Modules/LauncherScreen/User Interface/View/LauncherScreen.storyboard +++ b/GME Remit/Modules/LauncherScreen/User Interface/View/LauncherScreen.storyboard @@ -1,6 +1,6 @@ - + diff --git a/GME Remit/Utilities/DebugManager.swift b/GME Remit/Utilities/DebugManager.swift index 8e71101c..3b9a84cf 100644 --- a/GME Remit/Utilities/DebugManager.swift +++ b/GME Remit/Utilities/DebugManager.swift @@ -44,7 +44,9 @@ class DebugManager { func setTestAccount(target: UIViewController, completion: ((String, String) -> Void)? = nil) { let alertcontroller = UIAlertController(title: "Test Account", message: nil, preferredStyle: .actionSheet) - let testAction = UIAlertAction(title: testAccountID, style: .default, handler: { _ in + alertcontroller.view.tintColor = .themeText + + let testAction = UIAlertAction(title: testAccountID, style: .destructive, handler: { _ in completion?(self.testAccountID, self.testAccountPW) })