forked from organicmaps/organicmaps
[android] Fixed updating catalog webview after single bookmark payment
Added updating catalog webview when subscription is purhchased after launch subscription screen from catalog banner
This commit is contained in:
parent
b9300f49b0
commit
6312c16cce
1 changed files with 2 additions and 4 deletions
|
@ -239,15 +239,13 @@ public class BookmarksCatalogFragment extends BaseWebViewMwmFragment
|
|||
|
||||
if (requestCode == PurchaseUtils.REQ_CODE_PAY_SUBSCRIPTION)
|
||||
{
|
||||
mWebView.reload();
|
||||
showSubscriptionSuccessDialog();
|
||||
return;
|
||||
}
|
||||
|
||||
if (requestCode == PurchaseUtils.REQ_CODE_PAY_BOOKMARK && data != null
|
||||
&& data.getBooleanExtra(PurchaseUtils.EXTRA_IS_SUBSCRIPTION, false))
|
||||
{
|
||||
if (requestCode == PurchaseUtils.REQ_CODE_PAY_BOOKMARK)
|
||||
mWebView.reload();
|
||||
}
|
||||
}
|
||||
|
||||
private void showSubscriptionSuccessDialog()
|
||||
|
|
Loading…
Add table
Reference in a new issue