|  |  |  | @ -27,26 +27,19 @@ | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | + (void)setupSignalAppearence | 
		
	
		
			
				|  |  |  |  | { | 
		
	
		
			
				|  |  |  |  |     UINavigationBar.appearance.barTintColor = [UIColor colorWithRGBHex:0x161616]; // Colors.navigationBarBackground | 
		
	
		
			
				|  |  |  |  |     UINavigationBar.appearance.tintColor = [UIColor colorWithRGBHex:0xFFFFFF]; // Colors.text | 
		
	
		
			
				|  |  |  |  |     UIToolbar.appearance.barTintColor = Theme.navbarBackgroundColor; | 
		
	
		
			
				|  |  |  |  |     UIToolbar.appearance.tintColor = Theme.navbarIconColor; | 
		
	
		
			
				|  |  |  |  |     UINavigationBar.appearance.barTintColor = UIColor.whiteColor; | 
		
	
		
			
				|  |  |  |  |     UINavigationBar.appearance.translucent = NO; | 
		
	
		
			
				|  |  |  |  |     UINavigationBar.appearance.tintColor = UIColor.blackColor; | 
		
	
		
			
				|  |  |  |  |     UIToolbar.appearance.barTintColor = UIColor.blackColor; | 
		
	
		
			
				|  |  |  |  |     UIToolbar.appearance.translucent = NO; | 
		
	
		
			
				|  |  |  |  |     UIToolbar.appearance.tintColor = UIColor.whiteColor; | 
		
	
		
			
				|  |  |  |  |      | 
		
	
		
			
				|  |  |  |  |     UIBarButtonItem.appearance.tintColor = [UIColor colorWithRGBHex:0xFFFFFF]; // Colors.text | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |     // Using the keyboardAppearance causes crashes due to a bug in UIKit. | 
		
	
		
			
				|  |  |  |  |     //    UITextField.appearance.keyboardAppearance = (Theme.isDarkThemeEnabled | 
		
	
		
			
				|  |  |  |  |     //                                                 ? UIKeyboardAppearanceDark | 
		
	
		
			
				|  |  |  |  |     //                                                 : UIKeyboardAppearanceDefault); | 
		
	
		
			
				|  |  |  |  |     //    UITextView.appearance.keyboardAppearance = (Theme.isDarkThemeEnabled | 
		
	
		
			
				|  |  |  |  |     //                                                 ? UIKeyboardAppearanceDark | 
		
	
		
			
				|  |  |  |  |     //                                                 : UIKeyboardAppearanceDefault); | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |     [[UISwitch appearance] setOnTintColor:[UIColor colorWithRGBHex:0x00F782]]; // Colors.accent | 
		
	
		
			
				|  |  |  |  |     [[UIToolbar appearance] setTintColor:[UIColor ows_materialBlueColor]]; | 
		
	
		
			
				|  |  |  |  |     UIBarButtonItem.appearance.tintColor = UIColor.blackColor; | 
		
	
		
			
				|  |  |  |  |     [UISwitch.appearance setOnTintColor:[UIColor colorWithRGBHex:0x00F782]]; // Colors.accent | 
		
	
		
			
				|  |  |  |  |     [UIToolbar.appearance setTintColor:[UIColor colorWithRGBHex:0x00F782]]; // Colors.accent | 
		
	
		
			
				|  |  |  |  |      | 
		
	
		
			
				|  |  |  |  |     // If we set NSShadowAttributeName, the NSForegroundColorAttributeName value is ignored. | 
		
	
		
			
				|  |  |  |  |     UINavigationBar.appearance.titleTextAttributes = @{ NSForegroundColorAttributeName : [UIColor colorWithRGBHex:0xFFFFFF] }; // Colors.text | 
		
	
		
			
				|  |  |  |  |     UINavigationBar.appearance.titleTextAttributes = @{ NSForegroundColorAttributeName : UIColor.blackColor }; | 
		
	
		
			
				|  |  |  |  | } | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  | @end | 
		
	
	
		
			
				
					|  |  |  | 
 |