|
|
@@ -115,6 +115,9 @@ public class SettingCodePresenter extends Presenter<SettingCodeModel, ISettingCo
|
|
|
else if (resultIndex == Event.CODE_INVALID_RECOMMEND_CODE) {
|
|
|
onInvalidCode(Event.CODE_INVALID_RECOMMEND_CODE);
|
|
|
}
|
|
|
+ else if (resultIndex == Event.CODE_USED_SPECIAL_CODE) {
|
|
|
+ onInvalidCode(Event.CODE_USED_SPECIAL_CODE);
|
|
|
+ }
|
|
|
break;
|
|
|
case Event.ERROR:
|
|
|
showErrorDialog(event.getString());
|
|
|
@@ -204,6 +207,10 @@ public class SettingCodePresenter extends Presenter<SettingCodeModel, ISettingCo
|
|
|
else if (resultIndex == Event.CODE_INVALID_RECOMMEND_CODE) {
|
|
|
view.setValidationRecommendCode(ResourceUtil.getString(R.string.recommend_code_error));
|
|
|
}
|
|
|
+ else if (resultIndex == Event.CODE_USED_SPECIAL_CODE) {
|
|
|
+ // 사용한 스페셜 코드 팝업 표시
|
|
|
+ showErrorDialog(R.string.special_code_error_used);
|
|
|
+ }
|
|
|
|
|
|
view.setEnabledAll(true);
|
|
|
|