marinofaggiana 5 éve
szülő
commit
76338b8591

+ 2 - 2
iOSClient/Library/MWPhotoBrowser/MWPhotoBrowser.m

@@ -134,7 +134,7 @@ static void * MWVideoPlayerObservation = &MWVideoPlayerObservation;
 - (void)viewDidLoad {
     
 	// View
-	self.view.backgroundColor = [UIColor whiteColor];
+    self.view.backgroundColor = NCBrandColor.sharedInstance.backgroundView;
     self.view.clipsToBounds = YES;
 
 	// Setup paging scrolling view
@@ -145,7 +145,7 @@ static void * MWVideoPlayerObservation = &MWVideoPlayerObservation;
 	_pagingScrollView.delegate = self;
 	_pagingScrollView.showsHorizontalScrollIndicator = NO;
 	_pagingScrollView.showsVerticalScrollIndicator = NO;
-	_pagingScrollView.backgroundColor = [UIColor whiteColor];
+    _pagingScrollView.backgroundColor = NCBrandColor.sharedInstance.backgroundView;
     _pagingScrollView.contentSize = [self contentSizeForPagingScrollView];
 	[self.view addSubview:_pagingScrollView];
 	

+ 4 - 3
iOSClient/Library/MWPhotoBrowser/MWZoomingScrollView.m

@@ -12,6 +12,7 @@
 #import "MWPhoto.h"
 #import "MWPhotoBrowserPrivate.h"
 #import "UIImage+MWPhotoBrowser.h"
+#import "NCBridgeSwift.h"
 
 // Private methods and properties
 @interface MWZoomingScrollView () {
@@ -38,18 +39,18 @@
 		_tapView = [[MWTapDetectingView alloc] initWithFrame:self.bounds];
 		_tapView.tapDelegate = self;
 		_tapView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
-		_tapView.backgroundColor = [UIColor whiteColor]; //TWS
+		_tapView.backgroundColor = NCBrandColor.sharedInstance.backgroundView; //TWS
 		[self addSubview:_tapView];
 		
 		// Image view
 		_photoImageView = [[MWTapDetectingImageView alloc] initWithFrame:CGRectZero];
 		_photoImageView.tapDelegate = self;
 		_photoImageView.contentMode = UIViewContentModeCenter;
-		_photoImageView.backgroundColor = [UIColor whiteColor]; //TWS
+		_photoImageView.backgroundColor = NCBrandColor.sharedInstance.backgroundView; //TWS
 		[self addSubview:_photoImageView];
 				
 		// Setup
-		self.backgroundColor = [UIColor whiteColor]; //TWS
+		self.backgroundColor = NCBrandColor.sharedInstance.backgroundView; //TWS
 		self.delegate = self;
 		self.showsHorizontalScrollIndicator = NO;
 		self.showsVerticalScrollIndicator = NO;