Procházet zdrojové kódy

feat: toast修改

master
huting před 2 roky
rodič
revize
bcd1d603c4

+ 5
- 1
app/src/main/java/com/huntersun/vkyes/etcopencard/project/ui/activity/after/DevicePendingActivity.java Zobrazit soubor

@@ -167,7 +167,11 @@ public class DevicePendingActivity extends AppActivity {
@Override
protected void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent) {
hideDialog();
toast("设备已挂起");
if (!FunHelper.isEmpty(opeartion) && Integer.parseInt(opeartion) > 3){
toast("解挂成功!");
}else{
toast("设备已挂起");
}
finish();
}
@Override

+ 2
- 2
app/src/main/java/com/huntersun/vkyes/etcopencard/project/ui/activity/after/EquipmentLossReportActivity.java Zobrazit soubor

@@ -161,9 +161,9 @@ public class EquipmentLossReportActivity extends AppActivity {
protected void onSuccess(ResultBean resultBean, ResultBean.BizContent bizContent) {
hideDialog();
if (Integer.parseInt(opeartion) > 3){
toast("挂失成功!");
}else{
toast("解挂成功!");
}else{
toast("挂失成功!");
}
finish();
}

Načítá se…
Zrušit
Uložit