Ray Zhang 10 лет назад
Родитель
Сommit
a826c50b33
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      RedAnt ERP Mobile/iSales-NPD/OfflineSettingViewController.m

+ 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)
         {