Skip to content

Commit 218b498

Browse files
committed
rxbus集成
1 parent 6f8db79 commit 218b498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/example/kson/moduledemo/presenter/LoginPresenter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected void accepts(Object list, Object o) {
2828
if (o instanceof BaseResponse){
2929
getView().success((BaseResponse<UserEntity>) o);
3030
}else if(o instanceof String){
31-
com.blankj.utilcode.util.ToastUtils.showLong(o+"");
31+
getView().fail((String) o);
3232
}
3333

3434
}

0 commit comments

Comments
 (0)