Explorar o código

Fix text color set for themed back button

Felix Paul Kühne %!s(int64=12) %!d(string=hai) anos
pai
achega
bad3ae2121
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      AspenProject/UIBarButtonItem+Theme.m

+ 1 - 2
AspenProject/UIBarButtonItem+Theme.m

@@ -40,8 +40,7 @@
     [backButton setBackgroundImage:[UIImage imageNamed:@"backButtonHighlight"]
                           forState:UIControlStateHighlighted
                         barMetrics:UIBarMetricsDefault];
-    [backButton setTitleTextAttributes:@{UITextAttributeTextShadowColor : [UIColor whiteColor], UITextAttributeTextColor : [UIColor blackColor]}
-                              forState:UIControlStateNormal];
+    [backButton setTitleTextAttributes:@{UITextAttributeTextShadowColor : [UIColor colorWithWhite:0. alpha:.37], UITextAttributeTextColor : [UIColor whiteColor]} forState:UIControlStateNormal];
     return backButton;
 }