Просмотр исходного кода

修复通知入账中传入类型错误的bug

zengjiebin лет назад: 7
Родитель
Сommit
0c2cec0e64

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/view/dialog/DialogNotificationOfArrival.java

@@ -36,7 +36,7 @@ public class DialogNotificationOfArrival {
         SheepApp.getInstance()
                 .getNetComponent()
                 .getApiService()
-                .getMessageCenter(1, 1, DataUtil.getInstance().getUserId(), SystemNotification.TYPE_ALL)
+                .getMessageCenter(1, 1, DataUtil.getInstance().getUserId(), SystemNotification.TYPE_TASK_SUCCESS)
                 .subscribeOn(Schedulers.io())
                 .observeOn(AndroidSchedulers.mainThread())
                 .subscribe(new SheepSubscriber<BaseMessage>(SheepApp.getInstance()) {