diff --git a/Signal/src/ViewControllers/DebugUI/DebugUIFileBrowser.swift b/Signal/src/ViewControllers/DebugUI/DebugUIFileBrowser.swift index 3137c6229..46f7ecf36 100644 --- a/Signal/src/ViewControllers/DebugUI/DebugUIFileBrowser.swift +++ b/Signal/src/ViewControllers/DebugUI/DebugUIFileBrowser.swift @@ -29,7 +29,7 @@ let titleLabel = UILabel() titleLabel.text = "\(fileURL)" titleLabel.sizeToFit() - titleLabel.textColor = UIColor.white + titleLabel.textColor = Theme.primaryColor titleLabel.lineBreakMode = .byTruncatingHead self.navigationItem.titleView = titleLabel } diff --git a/Signal/src/ViewControllers/DebugUI/DebugUITableViewController.m b/Signal/src/ViewControllers/DebugUI/DebugUITableViewController.m index 22d9fbf8d..f4fa7aa56 100644 --- a/Signal/src/ViewControllers/DebugUI/DebugUITableViewController.m +++ b/Signal/src/ViewControllers/DebugUI/DebugUITableViewController.m @@ -105,7 +105,9 @@ NS_ASSUME_NONNULL_BEGIN OWSTableItem *documentsFileBrowserItem = [OWSTableItem disclosureItemWithText:@"📁 App Container" actionBlock:^{ - NSURL *baseURL = [NSURL URLWithString:[OWSFileSystem appLibraryDirectoryPath]]; + NSString *libraryPath = [OWSFileSystem appLibraryDirectoryPath]; + NSString *containerPath = [libraryPath stringByDeletingLastPathComponent]; + NSURL *baseURL = [NSURL fileURLWithPath:containerPath]; DebugUIFileBrowser *fileBrowser = [[DebugUIFileBrowser alloc] initWithFileURL:baseURL]; [viewController.navigationController pushViewController:fileBrowser animated:YES]; }];