|
|
@@ -9,6 +9,8 @@ import android.widget.TextView;
|
|
|
|
|
|
import kr.co.zumo.app.R;
|
|
|
import kr.co.zumo.app.lifeplus.bean.SettingHolderBean;
|
|
|
+import kr.co.zumo.app.lifeplus.util.ResourceUtil;
|
|
|
+import kr.co.zumo.app.lifeplus.util.StringUtil;
|
|
|
import kr.co.zumo.app.lifeplus.view.Event;
|
|
|
|
|
|
/**
|
|
|
@@ -42,6 +44,8 @@ public class PushAndLocationSettingViewHolder extends SettingViewHolder {
|
|
|
switchLocationOnOff = itemView.findViewById(R.id.switch_location_on_off);
|
|
|
textViewPushEnable = itemView.findViewById(R.id.text_push_enable);
|
|
|
|
|
|
+ textViewPushEnable.setText(StringUtil.fromHtml(String.format(ResourceUtil.getString(R.string.setting_menu3_push_enable))));
|
|
|
+
|
|
|
switchPushOnOff.setOnClickListener(v -> {
|
|
|
dispatchEvent(new Event.Builder(Event.SWITCH).integer(SettingPresenter.SETTING_PUSH).index(SettingViewHolder.SWITCH_PUSH).bool(switchPushOnOff.isChecked()).build());
|
|
|
});
|