From c67a3fbd99a386786e05371ec23f279f6ed35c53 Mon Sep 17 00:00:00 2001 From: Danmei Chen Date: Tue, 16 Feb 2021 11:32:41 +0100 Subject: [PATCH] fix assistantview for dark mode --- Classes/AssistantView.m | 2 +- Classes/Base.lproj/AssistantViewScreens.xib | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Classes/AssistantView.m b/Classes/AssistantView.m index 30bde7f05..9d98a1458 100644 --- a/Classes/AssistantView.m +++ b/Classes/AssistantView.m @@ -122,7 +122,7 @@ static UICompositeViewDescription *compositeDescription = nil; [self resetLiblinphone:FALSE]; [self enableWelcomeViewButtons]; NSString *message = NSLocalizedString(@"I accept Belledonne Communications’ terms of use and privacy policy", nil); - NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc] initWithString:message]; + NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc] initWithString:message attributes:@{NSForegroundColorAttributeName : [UIColor systemGrayColor]}]; [attributedString addAttribute:NSLinkAttributeName value:@"https://www.linphone.org/general-terms" range:[[attributedString string] rangeOfString:NSLocalizedString(@"terms of use", nil)]]; diff --git a/Classes/Base.lproj/AssistantViewScreens.xib b/Classes/Base.lproj/AssistantViewScreens.xib index abf045536..847755544 100644 --- a/Classes/Base.lproj/AssistantViewScreens.xib +++ b/Classes/Base.lproj/AssistantViewScreens.xib @@ -71,14 +71,14 @@ - + - + @@ -1595,9 +1595,6 @@ Once it is done, come back here and click on the button. - - - @@ -1607,5 +1604,8 @@ Once it is done, come back here and click on the button. + + +