Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'iOSClient/Settings/Acknowledgements.m')
-rw-r--r--iOSClient/Settings/Acknowledgements.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/iOSClient/Settings/Acknowledgements.m b/iOSClient/Settings/Acknowledgements.m
index 971bdf17f..a808f36de 100644
--- a/iOSClient/Settings/Acknowledgements.m
+++ b/iOSClient/Settings/Acknowledgements.m
@@ -31,12 +31,13 @@
- (void)viewDidLoad
{
[super viewDidLoad];
-
+
NSURL *rtfPath = [[NSBundle mainBundle] URLForResource:@"Acknowledgements" withExtension:@"rtf"];
NSAttributedString *attributedStringWithRtf = [[NSAttributedString alloc] initWithURL:rtfPath options:@{NSDocumentTypeDocumentAttribute:NSRTFTextDocumentType} documentAttributes:nil error:nil];
self.txtTermini.attributedText = attributedStringWithRtf;
-
+
+ self.navigationController.navigationBar.backgroundColor = [UIColor whiteColor];
self.view.backgroundColor = [UIColor whiteColor];
self.title = NSLocalizedString(@"_acknowledgements_", nil);
self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemDone target:self action:@selector(cancelPressed)];