Commit e2284836 by sikang

bug fix display

parent d49531d3
......@@ -60,7 +60,6 @@ public class UserPresenter extends BasePresenter<UserApi> {
@SuppressLint("CheckResult")
public void notifyGateway() {
getCustomerMsg("");
Observable.fromIterable(Gateway.getGatewayUrl())
.observeOn(Schedulers.io())
.concatMap(new Function<String, ObservableSource<GatewayInfoBean>>() {
......@@ -85,6 +84,7 @@ public class UserPresenter extends BasePresenter<UserApi> {
@Override
public void accept(GatewayInfoBean gatewayInfoBean) throws Exception {
Gateway.setGatewayInfoBean(gatewayInfoBean);
getCustomerMsg("");
EventBus.getDefault().post(ActionEnum.GATEWAY_UPDATED);
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment