From 838eec0c5245312d330f42ef389cb83f2939df9b Mon Sep 17 00:00:00 2001 From: Niels Andriesse Date: Thu, 25 Jul 2019 14:02:23 +1000 Subject: [PATCH] Clean up lock screen --- Signal/translations/en.lproj/Localizable.strings | 1 + SignalMessaging/ViewControllers/ScreenLockViewController.m | 7 +++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Signal/translations/en.lproj/Localizable.strings b/Signal/translations/en.lproj/Localizable.strings index c405b85d6..fb8c81843 100644 --- a/Signal/translations/en.lproj/Localizable.strings +++ b/Signal/translations/en.lproj/Localizable.strings @@ -2599,3 +2599,4 @@ "Please check the public key you entered and try again." = "Please check the public key you entered and try again."; "Looks like you don't have any conversations yet. Get started by messaging a friend." = "Looks like you don't have any conversations yet. Get started by messaging a friend."; "Enter the public key of the person you'd like to securely message. They can share their public key with you by going into Loki Messenger's in-app settings and clicking \"Share Public Key\"." = "Enter the public key of the person you'd like to securely message. They can share their public key with you by going into Loki Messenger's in-app settings and clicking \"Share Public Key\"."; +"Unlock Loki Messenger" = "Unlock Loki Messenger"; diff --git a/SignalMessaging/ViewControllers/ScreenLockViewController.m b/SignalMessaging/ViewControllers/ScreenLockViewController.m index fe0894974..4293bb81c 100644 --- a/SignalMessaging/ViewControllers/ScreenLockViewController.m +++ b/SignalMessaging/ViewControllers/ScreenLockViewController.m @@ -57,11 +57,10 @@ NSString *NSStringForScreenLockUIState(ScreenLockUIState value) const CGFloat kButtonHeight = 40.f; OWSFlatButton *button = - [OWSFlatButton buttonWithTitle:NSLocalizedString(@"SCREEN_LOCK_UNLOCK_SIGNAL", - @"Label for button on lock screen that lets users unlock Signal.") + [OWSFlatButton buttonWithTitle:NSLocalizedString(@"Unlock Loki Messenger", @"") font:[OWSFlatButton fontForHeight:kButtonHeight] - titleColor:[UIColor ows_materialBlueColor] - backgroundColor:[UIColor whiteColor] + titleColor:UIColor.whiteColor + backgroundColor:UIColor.clearColor target:self selector:@selector(showUnlockUI)]; [edgesView addSubview:button];