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

1.修改iOS Apex Drivers屏蔽上传按钮颜色变化。

Pen Li 7 жил өмнө
parent
commit
caba162f48

+ 2 - 2
Redant Drivers/Apex And Drivers/AppDelegate.m

@@ -169,8 +169,8 @@
     }];
 #endif
     
-    [RADataProvider downloadOfflineData];
-    [RASingleton sharedInstance].offline = YES;
+//    [RADataProvider downloadOfflineData];
+//    [RASingleton sharedInstance].offline = YES;
     
     // View
     

+ 9 - 9
Redant Drivers/Apex And Drivers/Home/RAHomeViewController.m

@@ -271,15 +271,15 @@
 }
 
 - (void)_updateUploadItem:(UIBarButtonItem *)item withUploadCount:(NSUInteger)count {
-    
-    if (item) {
-        
-        if (count > 0) {
-            item.tintColor = UIColorFromRGB(0x299D4D);
-        } else {
-            item.tintColor = ApexDriverWhiteColor;
-        }
-    }
+    item.tintColor = ApexDriverWhiteColor;
+//    if (item) {
+//
+//        if (count > 0) {
+//            item.tintColor = UIColorFromRGB(0x299D4D);
+//        } else {
+//            item.tintColor = ApexDriverWhiteColor;
+//        }
+//    }
 }
 
 #pragma mark - Action