juan.hernandez41 2 年 前
コミット
3da1658a04
共有1 個のファイルを変更した4 個の追加1 個の削除を含む
  1. 4
    1
      Datos.js

+ 4
- 1
Datos.js ファイルの表示

298
 
298
 
299
 //data parsing goes here
299
 //data parsing goes here
300
 function getInfo(){
300
 function getInfo(){
301
-	return information
301
+  if(!information)
302
+  {Alert.alert("Please try again later! Error retriving data")}
303
+	else
304
+    {return information}
302
 }
305
 }
303
 
306
 
304
 //data display
307
 //data display