From ab17b8ba8d9ca02b3df72d5c0a7123b5413e2e03 Mon Sep 17 00:00:00 2001 From: Ramiro Ramirez Date: Fri, 3 Mar 2017 10:57:23 +0100 Subject: [PATCH] Adding tint color for touch id button --- PasscodeLock/PasscodeLockViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PasscodeLock/PasscodeLockViewController.swift b/PasscodeLock/PasscodeLockViewController.swift index a5bfc561..25e826df 100644 --- a/PasscodeLock/PasscodeLockViewController.swift +++ b/PasscodeLock/PasscodeLockViewController.swift @@ -120,7 +120,7 @@ public class PasscodeLockViewController: UIViewController, PasscodeLockTypeDeleg self.descriptionLabel?.text = passcodeLock.state.description self.touchIDButton?.hidden = !passcodeLock.isTouchIDAllowed self.touchIDButton?.setTitle((self.stringsToShow?.useTouchID ?? localizedStringFor("UseTouchId", comment: "")), forState: .Normal) - + self.touchIDButton?.setTitleColor(self.customTintColor, forState: .Normal) self.passcodeButtons?.forEach({ (passcodeButton: PasscodeSignButton) in passcodeButton.tintColor = self.customTintColor })