From b2db061c1cf1c0f4861161b49a1d34ed40c18829 Mon Sep 17 00:00:00 2001 From: Hwee-Boon Yar Date: Wed, 25 Apr 2018 14:41:20 +0800 Subject: [PATCH] Fix: Done button in sell ticket screen for entering quantity has wrong color. Can't see --- Trust/Style/AppStyle.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Trust/Style/AppStyle.swift b/Trust/Style/AppStyle.swift index 4720866d0..0ac6efe5a 100644 --- a/Trust/Style/AppStyle.swift +++ b/Trust/Style/AppStyle.swift @@ -24,6 +24,7 @@ func applyStyle() { //We could have set the backBarButtonItem with an empty title for every view controller, but we don't have a place to do it for Eureka view controllers. Using appearance here, while a hack is still more convenient though, since we don't have to do it for every view controller instance UIBarButtonItem.appearance().setBackButtonTitlePositionAdjustment(UIOffset(horizontal: -200, vertical: 0), for: .default) UIBarButtonItem.appearance().tintColor = Colors.appWhite + UIBarButtonItem.appearance(whenContainedInInstancesOf: [UIToolbar.self]).tintColor = Colors.appBackground UIToolbar.appearance().tintColor = Colors.appBackground