Ray Zhang 10 lat temu
rodzic
commit
a826c50b33

+ 8 - 0
RedAnt ERP Mobile/iSales-NPD/OfflineSettingViewController.m

@@ -70,7 +70,15 @@
     }
     else
     {
+        
+        UIApplication * app = [UIApplication sharedApplication];
+        AppDelegate *appDelegate = (AppDelegate *)[app delegate];
+        
         NSString*  ver = [defaults stringForKey:@"OfflineVer"] ;
+        
+        [appDelegate check_offline:ver];
+        return;
+        
         if(ver.length==0)
         {