|
@ -271,8 +271,21 @@ public class HomeV2Presenter extends BasePresenter implements HomeV2PresenterInt |
|
|
if (model.getOS().equalsIgnoreCase("ANDROID")) |
|
|
if (model.getOS().equalsIgnoreCase("ANDROID")) |
|
|
androidAppUpdateModel = model; |
|
|
androidAppUpdateModel = model; |
|
|
} |
|
|
} |
|
|
if (!shouldRouteToAutoDebitScreen(true)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//TODO |
|
|
|
|
|
|
|
|
|
|
|
if (userInfoModelV2.getRedirectTo().equalsIgnoreCase("autodebit")) |
|
|
|
|
|
{ |
|
|
|
|
|
if(!gateway.hasRedirectedToAutoDebitScreenOnce()) { |
|
|
|
|
|
view.showAutoDebitListingScreen(); |
|
|
|
|
|
gateway.updateHasRedirectedToAutoDebitScreenOnce(true); |
|
|
|
|
|
} |
|
|
|
|
|
//TODO show in popup view; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
else { |
|
|
checkIfUpdateIsRequired(androidAppUpdateModel); |
|
|
checkIfUpdateIsRequired(androidAppUpdateModel); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -312,15 +325,7 @@ public class HomeV2Presenter extends BasePresenter implements HomeV2PresenterInt |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* |
|
|
|
|
|
* @param apiRequestedToRouteToAutoDebitScreen api flag value that determines if it should be routed to auto debit listing screen |
|
|
|
|
|
* @return true if handled otherwise false |
|
|
|
|
|
*/ |
|
|
|
|
|
private boolean shouldRouteToAutoDebitScreen(boolean apiRequestedToRouteToAutoDebitScreen) { |
|
|
|
|
|
// view.showAutoDebitListingScreen(); |
|
|
|
|
|
return false; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public void skipKJBankNoticeForToday() { |
|
|
public void skipKJBankNoticeForToday() { |
|
|