From 0477835c8674fc16b437a0517e64e9f153aa4163 Mon Sep 17 00:00:00 2001 From: Hwee-Boon Yar Date: Mon, 23 Apr 2018 13:35:35 +0800 Subject: [PATCH] Fix: cancel button in text sharing sheet, e.g. in transfer flow, is not visible --- Trust/Style/AppStyle.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Trust/Style/AppStyle.swift b/Trust/Style/AppStyle.swift index 5261b5100..4720866d0 100644 --- a/Trust/Style/AppStyle.swift +++ b/Trust/Style/AppStyle.swift @@ -23,6 +23,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 UIToolbar.appearance().tintColor = Colors.appBackground