Skip to content

Commit

Permalink
Fix keyboard done button
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed May 23, 2020
1 parent 5635674 commit cf722a6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ios/CovidShield/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,12 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];

self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
// #002D42
UIColor *linkBlue = [UIColor colorWithRed:2.0f / 255.0f green:120.0f / 255.0f blue:164.0f / 255.0f alpha:1];
// Sets the default tint color for native components like ActionSheet.
// Link blue #002D42
self.window.tintColor = [UIColor colorWithRed:2.0f / 255.0f green:120.0f / 255.0f blue:164.0f / 255.0f alpha:1];
self.window.tintColor = linkBlue;
// This is needed to tint the keyboard done button.
UIToolbar.appearance.tintColor = linkBlue;
UIViewController *rootViewController = [UIViewController new];
rootViewController.view = rootView;
self.window.rootViewController = rootViewController;
Expand Down

0 comments on commit cf722a6

Please sign in to comment.