|
|
@@ -98,8 +98,10 @@ public class ClockFragmentPresenter extends BasePresenter<ClockFragment> impleme
|
|
|
if (isClock) {//如果是点击打卡
|
|
|
ToastUtils.show(mvpReference.get().getActivity(), R.string.clock_location_fail);
|
|
|
} else {//如果是一般情況下
|
|
|
- if (mModel.getClockInfo() == null)//尚未初始化的情況下进入错误页面
|
|
|
+ if (mModel.getClockInfo() == null) {//尚未初始化的情況下进入错误页面
|
|
|
mvpReference.get().onError();
|
|
|
+ ToastUtils.show(mvpReference.get().getActivity(), R.string.clock_location_fail);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|