|
|
@@ -12,6 +12,7 @@ import java.util.Comparator;
|
|
|
import java.util.List;
|
|
|
|
|
|
import io.reactivex.disposables.Disposable;
|
|
|
+import kr.co.zumo.app.R;
|
|
|
import kr.co.zumo.app.lifeplus.bean.PushBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.NoticeBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.NoticeResultBean;
|
|
|
@@ -24,6 +25,7 @@ import kr.co.zumo.app.lifeplus.model.module.APINoticeModule;
|
|
|
import kr.co.zumo.app.lifeplus.push.PushMessageBroker;
|
|
|
import kr.co.zumo.app.lifeplus.push.PushMessageManager;
|
|
|
import kr.co.zumo.app.lifeplus.util.Formatter;
|
|
|
+import kr.co.zumo.app.lifeplus.util.ResourceUtil;
|
|
|
import kr.co.zumo.app.lifeplus.view.Event;
|
|
|
|
|
|
/**
|
|
|
@@ -188,7 +190,7 @@ public class NotiModel extends Model implements PushMessageBroker.IPushMessageLi
|
|
|
private NoticeBean pushToNotice(PushBean bean, int index) {
|
|
|
NoticeBean noticeBean = new NoticeBean();
|
|
|
noticeBean.setCategory(NoticeBean.CATEGORY_NEWS);
|
|
|
- noticeBean.setContents(bean.getContents());
|
|
|
+ noticeBean.setContents(ResourceUtil.getString(R.string.event_winner_noti, bean.getTitle()));
|
|
|
noticeBean.setOpeningDate(Formatter.format(bean.getDateTime(), PushBean.DATE_FORMAT, NoticeBean.DATE_FORMAT));
|
|
|
noticeBean.setEventId(bean.getItemNo());
|
|
|
noticeBean.setNoticeNo(String.valueOf(index));
|