Marino Faggiana 6 years ago
parent
commit
c5e6d5d80a

+ 2 - 2
iOSClient/AppDelegate.m

@@ -875,8 +875,8 @@
     // Photos
     item = [tabBarController.tabBar.items objectAtIndex: k_tabBarApplicationIndexPhotos];
     [item setTitle:NSLocalizedString(@"_photo_camera_", nil)];
-    item.image = [UIImage imageNamed:@"tabBarPhotos"];
-    item.selectedImage = [UIImage imageNamed:@"tabBarPhotos"];
+    item.image = [UIImage imageNamed:@"photos"];
+    item.selectedImage = [UIImage imageNamed:@"photos"];
     
     // More
     item = [tabBarController.tabBar.items objectAtIndex: k_tabBarApplicationIndexMore];

+ 0 - 0
iOSClient/Images.xcassets/tabBarPhotos.imageset/Contents.json → iOSClient/Images.xcassets/photos.imageset/Contents.json


+ 0 - 0
iOSClient/Images.xcassets/tabBarPhotos.imageset/tabBarPhotos.png → iOSClient/Images.xcassets/photos.imageset/tabBarPhotos.png


+ 0 - 0
iOSClient/Images.xcassets/tabBarPhotos.imageset/tabBarPhotos@2x.png → iOSClient/Images.xcassets/photos.imageset/tabBarPhotos@2x.png


+ 0 - 0
iOSClient/Images.xcassets/tabBarPhotos.imageset/tabBarPhotos@3x.png → iOSClient/Images.xcassets/photos.imageset/tabBarPhotos@3x.png


+ 0 - 21
iOSClient/Images.xcassets/titlePhotos.imageset/Contents.json

@@ -1,21 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "titlePhotos@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "universal",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
iOSClient/Images.xcassets/titlePhotos.imageset/titlePhotos@2x.png


+ 0 - 21
iOSClient/Images.xcassets/titlePublic.imageset/Contents.json

@@ -1,21 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "titlePublic@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "universal",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
iOSClient/Images.xcassets/titlePublic.imageset/titlePublic@2x.png


+ 0 - 21
iOSClient/Images.xcassets/titleShared_with_me.imageset/Contents.json

@@ -1,21 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "universal",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "universal",
-      "filename" : "titleShare@2x.png",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "universal",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}

BIN
iOSClient/Images.xcassets/titleShared_with_me.imageset/titleShare@2x.png


+ 4 - 4
iOSClient/Main/CCMain.m

@@ -4601,7 +4601,7 @@
                 cell.imageTitleSegue = [UIImage imageNamed:@"titleEncrypted"];
             } else if ([metadata.fileName isEqualToString:_autoUploadFileName] && [self.serverUrl isEqualToString:_autoUploadDirectory]) {
                 cell.file.image = [CCGraphics changeThemingColorImage:[UIImage imageNamed:@"folderphotocamera"] color:[NCBrandColor sharedInstance].brandElement];
-                cell.imageTitleSegue = [UIImage imageNamed:@"titlePhotos"];
+                cell.imageTitleSegue = [CCGraphics changeThemingColorImage:[UIImage imageNamed:@"photos"] color:[UIColor whiteColor]];
             } else
                 cell.file.image = [CCGraphics changeThemingColorImage:[UIImage imageNamed:@"folder"] color:[NCBrandColor sharedInstance].brandElement];
             
@@ -4661,7 +4661,7 @@
             if (metadata.directory) {
                 
                 cell.file.image = [CCGraphics changeThemingColorImage:[UIImage imageNamed:@"folder_shared_with_me"] color:[NCBrandColor sharedInstance].brandElement];
-                cell.imageTitleSegue = [UIImage imageNamed:@"titleShared_with_me"];
+                cell.imageTitleSegue = [CCGraphics changeThemingColorImage:[UIImage imageNamed:@"share"] color:[UIColor whiteColor]];
                 cell.accessoryType = UITableViewCellAccessoryNone;
             }
             
@@ -4698,10 +4698,10 @@
                 
                 if ([shareUserAndGroup length] > 0) {
                     cell.file.image = [CCGraphics changeThemingColorImage:[UIImage imageNamed:@"folder_shared_with_me"] color:[NCBrandColor sharedInstance].brandElement];
-                    cell.imageTitleSegue = [UIImage imageNamed:@"titleShared_with_me"];
+                    cell.imageTitleSegue = [CCGraphics changeThemingColorImage:[UIImage imageNamed:@"share"] color:[UIColor whiteColor]];
                 } if ([shareLink length] > 0) {
                     cell.file.image = [CCGraphics changeThemingColorImage:[UIImage imageNamed:@"folder_public"] color:[NCBrandColor sharedInstance].brandElement];
-                    cell.imageTitleSegue = [UIImage imageNamed:@"titlePublic"];
+                    cell.imageTitleSegue = [CCGraphics changeThemingColorImage:[UIImage imageNamed:@"sharebylink"] color:[UIColor whiteColor]];
                 }
                 
                 cell.shared.userInteractionEnabled = NO;

+ 2 - 2
iOSClient/Main/Main.storyboard

@@ -550,7 +550,7 @@
         <scene sceneID="IuY-Iu-oAm">
             <objects>
                 <navigationController extendedLayoutIncludesOpaqueBars="YES" automaticallyAdjustsScrollViewInsets="NO" id="Npr-vu-PSD" sceneMemberID="viewController">
-                    <tabBarItem key="tabBarItem" title="Photos" image="tabBarPhotos" id="5cw-bP-7It"/>
+                    <tabBarItem key="tabBarItem" title="Photos" image="photos" id="5cw-bP-7It"/>
                     <toolbarItems/>
                     <navigationBar key="navigationBar" contentMode="scaleToFill" id="ixg-Pw-TNO">
                         <rect key="frame" x="0.0" y="44" width="375" height="44"/>
@@ -797,8 +797,8 @@
         <image name="disclosureIndicator" width="13" height="14"/>
         <image name="favorite" width="25" height="25"/>
         <image name="folder" width="25" height="25"/>
+        <image name="photos" width="25" height="25"/>
         <image name="tabBarMore" width="25" height="25"/>
-        <image name="tabBarPhotos" width="25" height="25"/>
         <image name="tabBarPlus" width="40" height="40"/>
     </resources>
     <inferredMetricsTieBreakers>