Browse Source

changed debug alert tint color

pull/1/head
InKwon James Kim 5 years ago
parent
commit
9f00ca6205
  1. 2
      GME Remit.xcodeproj/project.pbxproj
  2. 2
      GME Remit/Extensions/UIViewController+Ext.swift
  3. 2
      GME Remit/Modules/LauncherScreen/User Interface/View/LauncherScreen.storyboard
  4. 4
      GME Remit/Utilities/DebugManager.swift

2
GME Remit.xcodeproj/project.pbxproj

@ -7674,7 +7674,6 @@
D907AB96212AA8A300915A87 /* Modules */ = { D907AB96212AA8A300915A87 /* Modules */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
73A6211E233073D2000FFB5B /* RemittanceModules */,
FF6E7D7921BF951D00A003B9 /* AppUpdate */, FF6E7D7921BF951D00A003B9 /* AppUpdate */,
BE74AF8E227C8FF100F05CE7 /* AutoDebitModules */, BE74AF8E227C8FF100F05CE7 /* AutoDebitModules */,
736A8C262277EAC100337A50 /* BiometricAuthModules */, 736A8C262277EAC100337A50 /* BiometricAuthModules */,
@ -7689,6 +7688,7 @@
9F3ADCE62004B80F0037A3A3 /* Profile */, 9F3ADCE62004B80F0037A3A3 /* Profile */,
9F9DF0CA1FEBC0A0005B8F42 /* RecipientModules */, 9F9DF0CA1FEBC0A0005B8F42 /* RecipientModules */,
73138D9322B7509F001280D3 /* RegisterModules */, 73138D9322B7509F001280D3 /* RegisterModules */,
73A6211E233073D2000FFB5B /* RemittanceModules */,
730D784F227A94E1007E517E /* RewardModules */, 730D784F227A94E1007E517E /* RewardModules */,
042E6EFB203EAE3A004667A1 /* SideMenu */, 042E6EFB203EAE3A004667A1 /* SideMenu */,
D96A4FBF21460B4900CFD507 /* SplashScreen */, D96A4FBF21460B4900CFD507 /* SplashScreen */,

2
GME Remit/Extensions/UIViewController+Ext.swift

@ -530,7 +530,7 @@ extension UIViewController {
handler: nil handler: nil
) )
) )
alert.view.tintColor = UIColor.darkGray
alert.view.tintColor = .themeText
if UIDevice.current.userInterfaceIdiom == .pad { if UIDevice.current.userInterfaceIdiom == .pad {
if let popoverController = alert.popoverPresentationController { if let popoverController = alert.popoverPresentationController {

2
GME Remit/Modules/LauncherScreen/User Interface/View/LauncherScreen.storyboard

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14868" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="HSb-ou-7T5"> <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14868" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="HSb-ou-7T5">
<device id="retina4_7" orientation="portrait" appearance="dark"/>
<device id="retina4_7" orientation="portrait" appearance="light"/>
<dependencies> <dependencies>
<deployment identifier="iOS"/> <deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14824"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14824"/>

4
GME Remit/Utilities/DebugManager.swift

@ -44,7 +44,9 @@ class DebugManager {
func setTestAccount(target: UIViewController, completion: ((String, String) -> Void)? = nil) { func setTestAccount(target: UIViewController, completion: ((String, String) -> Void)? = nil) {
let alertcontroller = UIAlertController(title: "Test Account", message: nil, preferredStyle: .actionSheet) 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) completion?(self.testAccountID, self.testAccountPW)
}) })

Loading…
Cancel
Save