Commit e2284836 by sikang

bug fix display

parent d49531d3
...@@ -60,7 +60,6 @@ public class UserPresenter extends BasePresenter<UserApi> { ...@@ -60,7 +60,6 @@ public class UserPresenter extends BasePresenter<UserApi> {
@SuppressLint("CheckResult") @SuppressLint("CheckResult")
public void notifyGateway() { public void notifyGateway() {
getCustomerMsg("");
Observable.fromIterable(Gateway.getGatewayUrl()) Observable.fromIterable(Gateway.getGatewayUrl())
.observeOn(Schedulers.io()) .observeOn(Schedulers.io())
.concatMap(new Function<String, ObservableSource<GatewayInfoBean>>() { .concatMap(new Function<String, ObservableSource<GatewayInfoBean>>() {
...@@ -85,6 +84,7 @@ public class UserPresenter extends BasePresenter<UserApi> { ...@@ -85,6 +84,7 @@ public class UserPresenter extends BasePresenter<UserApi> {
@Override @Override
public void accept(GatewayInfoBean gatewayInfoBean) throws Exception { public void accept(GatewayInfoBean gatewayInfoBean) throws Exception {
Gateway.setGatewayInfoBean(gatewayInfoBean); Gateway.setGatewayInfoBean(gatewayInfoBean);
getCustomerMsg("");
EventBus.getDefault().post(ActionEnum.GATEWAY_UPDATED); 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