Przeglądaj źródła

short toast tip with error code

billyyoyo 6 lat temu
rodzic
commit
a288cc897f

+ 1 - 1
app/src/main/java/com/sheep/jiuyan/samllsheep/utils/G.java

@@ -85,7 +85,7 @@ public class G {
         } else if (msg.getCode() == 404 || msg.getCode() == 503) {
             G.shortToast("错误: " + msg.getCode());
         } else {
-            G.shortToast(msg.getMsg() + (BuildConfig.DEBUG ? "[" + msg.getCode() + "]" : ""));
+            G.shortToast(msg.getMsg() + "[" + msg.getCode() + "]");
         }
     }