소스 검색

[알림][Common] 소식 없을 경우 액션버튼 안뜨게 수정

Hasemi 6 년 전
부모
커밋
fec0507310
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/notification/NotiPresenter.java

+ 2 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/notification/NotiPresenter.java

@@ -159,7 +159,8 @@ public class NotiPresenter extends Presenter<NotiModel, INotiView> {
   private void renderActionButton(int index) {
     // 소식 탭일 경우
     if (index == 1) {
-      view.setActionButtonVisible(true);
+      //view.setActionButtonVisible(true);
+      view.setActionButtonVisible(model.getPushBeans().size() > 0);
       view.setActionButtonEnabled(model.getPushBeans().size() > 0);
     }
     else {