Эх сурвалжийг харах

new system for image title

Marino Faggiana 7 жил өмнө
parent
commit
0f3de967b4

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

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

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


+ 0 - 1
iOSClient/Main/CCMain.h

@@ -66,7 +66,6 @@
 @property (nonatomic, strong) UITapGestureRecognizer *singleFingerTap;
 @property (nonatomic, strong) UITapGestureRecognizer *singleFingerTap;
 @property (nonatomic, strong) UIImage *imageTitle;
 @property (nonatomic, strong) UIImage *imageTitle;
 
 
-
 - (void)closeAllMenu;
 - (void)closeAllMenu;
 - (void)returnCreate:(NSInteger)type;
 - (void)returnCreate:(NSInteger)type;
 
 

+ 1 - 0
iOSClient/Main/CCMain.m

@@ -4899,6 +4899,7 @@
             if (metadata.directory) {
             if (metadata.directory) {
                 
                 
                 cell.file.image = [CCGraphics changeThemingColorImage:[UIImage imageNamed:@"folder_external"] color:[NCBrandColor sharedInstance].brandElement];
                 cell.file.image = [CCGraphics changeThemingColorImage:[UIImage imageNamed:@"folder_external"] color:[NCBrandColor sharedInstance].brandElement];
+                cell.imageTitleSegue = [UIImage imageNamed:@"titleExternal"];
                 cell.accessoryType = UITableViewCellAccessoryNone;
                 cell.accessoryType = UITableViewCellAccessoryNone;
             }
             }