Clean up lock screen

pull/35/head
Niels Andriesse 6 years ago
parent 5386036cea
commit 838eec0c52

@ -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";

@ -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];

Loading…
Cancel
Save