|
@@ -1002,6 +1002,9 @@ PKPushRegistry *pushRegistry;
|
|
|
|
|
|
- (void)changeTheming:(UIViewController *)viewController tableView:(UITableView *)tableView collectionView:(UICollectionView *)collectionView
|
|
|
{
|
|
|
+ // Dark Mode
|
|
|
+ [NCBrandColor.sharedInstance setDarkMode];
|
|
|
+
|
|
|
// NavigationBar
|
|
|
if (viewController.navigationController.navigationBar) {
|
|
|
viewController.navigationController.navigationBar.translucent = false;
|
|
@@ -1048,13 +1051,6 @@ PKPushRegistry *pushRegistry;
|
|
|
[self.window setTintColor:NCBrandColor.sharedInstance.textView];
|
|
|
}
|
|
|
|
|
|
-- (void)settingDarkMode
|
|
|
-{
|
|
|
- [NCBrandColor.sharedInstance setDarkMode];
|
|
|
- [[NCMainCommon sharedInstance] createImagesThemingColor];
|
|
|
- [[NSNotificationCenter defaultCenter] postNotificationOnMainThreadName:@"changeTheming" object:nil];
|
|
|
-}
|
|
|
-
|
|
|
#pragma --------------------------------------------------------------------------------------------
|
|
|
#pragma mark ===== Manager Passcode =====
|
|
|
#pragma --------------------------------------------------------------------------------------------
|