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

Remove share in Local Storage

Marino Faggiana 8 жил өмнө
parent
commit
2269219cb3

+ 1 - 1
iOSClient/CCGlobal.m

@@ -55,7 +55,7 @@ NSString *const dav = @"/remote.php/dav";
 + (void)aspectTabBar:(UITabBar *)tab hidden:(BOOL)hidden
 {    
     tab.translucent = NO;
-    tab.barTintColor = COLOR_TABBAR;
+    tab.barTintColor = [UIColor whiteColor];// COLOR_TABBAR;
     tab.tintColor = COLOR_TABBAR_TEXT;
     
     tab.hidden = hidden;

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


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


+ 0 - 17
iOSClient/Local storage/CCLocalStorage.m

@@ -327,23 +327,6 @@
         }];
     }
     
-    // Share
-    if (_metadata.cryptated == NO && app.hasServerShareSupport) {
-        
-        [actionSheet addButtonWithTitle:NSLocalizedString(@"_share_", nil)
-                                  image:[UIImage imageNamed:image_actionSheetShare]
-                        backgroundColor:[UIColor whiteColor]
-                                 height: 50.0
-                                   type:AHKActionSheetButtonTypeDefault
-                                handler:^(AHKActionSheet *as) {
-                                    
-                                    // close swipe
-                                    [self setEditing:NO animated:YES];
-                                    
-                                    [app.activeMain openWindowShare:metadata];
-                                }];
-    }
-
     // NO Directory - NO Template
     if (metadata.directory == NO && [metadata.type isEqualToString:k_metadataType_template] == NO) {
         

+ 1 - 1
iOSClient/Main/Main.storyboard

@@ -78,7 +78,7 @@
                                 <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
                                 <prototypes>
                                     <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="Cell" rowHeight="50" id="zQQ-52-W9I" customClass="CCCellMore" customModule="Nextcloud" customModuleProvider="target">
-                                        <rect key="frame" x="0.0" y="56" width="375" height="50"/>
+                                        <rect key="frame" x="0.0" y="55.5" width="375" height="50"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="zQQ-52-W9I" id="Zho-os-HYj">
                                             <rect key="frame" x="0.0" y="0.0" width="375" height="49"/>