Bläddra i källkod

[회원확인][Common] 블락멤버 확인 다이얼로그 버튼 클릭시 앱 종료 및 이메일 공유 url 변경

Hasemi 6 år sedan
förälder
incheckning
530be8ed83

+ 7 - 2
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/member/MemberBlockPresenter.java

@@ -11,6 +11,7 @@ import kr.co.zumo.app.lifeplus.supervisor.ScreenID;
 import kr.co.zumo.app.lifeplus.util.ResourceUtil;
 import kr.co.zumo.app.lifeplus.view.Event;
 import kr.co.zumo.app.lifeplus.view.command.EmailSendingCommand;
+import kr.co.zumo.app.lifeplus.view.command.ExitCommand;
 import kr.co.zumo.app.lifeplus.view.dialog.AlertDialog;
 import kr.co.zumo.app.lifeplus.view.dialog.DialogBuilder;
 import kr.co.zumo.app.lifeplus.view.dialog.DialogID;
@@ -124,14 +125,18 @@ public class MemberBlockPresenter extends Presenter<MemberBlockModel, IBlockMemb
       .listener(new ICustomDialogListener<AlertDialog>() {
         @Override
         public void onDialogResult(AlertDialog dialog, Event event) {
-
+          onCommand(new ExitCommand());
         }
 
         @Override
         public void onDialogCanceled(AlertDialog dialog) {
         }
       })
-      .attribute(dialog -> dialog.setText(R.string.black_member_info_message))
+      .attribute(dialog -> {
+          dialog.setText(R.string.black_member_info_message);
+          dialog.setPositiveButtonLabelId(R.string.emergency_multi_device_button_negative);
+        }
+      )
       .show();
   }
 }

+ 2 - 2
app/src/main/res/values/strings.xml

@@ -749,8 +749,8 @@
   <string name="share_recommend_code_subject">추천인 코드 공유</string>
   <string name="share_current_page_subject">현재 페이지 공유</string>
   <string name="share_total_page_subject">전체 공유</string>
-  <string name="share_recommend_code_contents">"[Lifeplus] 추천인 코드 공유\n\n추천인 코드: %s\n\nLifeplus에서 더 다양한 컨텐츠를 확인하세요!\n\n아직 Lifeplus App이 없으시다면 아래 경로에서 다운로드 받으세요!\n\nApp 다운로드 : http://www.lifeplus.co.kr"</string>
-  <string name="share_current_page_contents">"%1$s\n\n%2$s\n\nLifeplus에서 더 다양한 컨텐츠를 확인하세요!\n\n아직 Lifeplus App이 없으시다면 아래 경로에서 다운로드 받으세요!\n\nApp 다운로드 : http://www.lifeplus.co.kr"</string>
+  <string name="share_recommend_code_contents">"[Lifeplus] 추천인 코드 공유\n\n추천인 코드: %s\n\nLifeplus에서 더 다양한 컨텐츠를 확인하세요!\n\n아직 Lifeplus App이 없으시다면 아래 경로에서 다운로드 받으세요!\n\nApp 다운로드 : https://zumo.co.kr/mobile.html"</string>
+  <string name="share_current_page_contents">"%1$s\n\n%2$s\n\nLifeplus에서 더 다양한 컨텐츠를 확인하세요!\n\n아직 Lifeplus App이 없으시다면 아래 경로에서 다운로드 받으세요!\n\nApp 다운로드 : https://zumo.co.kr/mobile.html"</string>
   <string name="sending_email">이메일 보내기</string>
   <string name="view_in_web">웹으로 보기</string>
   <string name="view_in_app">APP으로 보기</string>