Do not auto-dismiss choose plan dialog until purchase finshed
This commit is contained in:
parent
36d6bf5d39
commit
ad3d74e673
3 changed files with 2 additions and 3 deletions
|
@ -306,7 +306,6 @@ public abstract class ChoosePlanDialogFragment extends BaseOsmAndDialogFragment
|
|||
@Override
|
||||
public void onClick(View v) {
|
||||
subscript();
|
||||
dismiss();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -448,6 +447,7 @@ public abstract class ChoosePlanDialogFragment extends BaseOsmAndDialogFragment
|
|||
|
||||
@Override
|
||||
public void onItemPurchased(String sku, boolean active) {
|
||||
dismiss();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -107,9 +107,9 @@ public class ChoosePlanFreeBannerDialogFragment extends ChoosePlanDialogFragment
|
|||
app.logEvent(getActivity(), "in_app_purchase_redirect_from_banner");
|
||||
} else {
|
||||
app.logEvent(getActivity(), "paid_version_redirect_from_banner");
|
||||
dismiss();
|
||||
}
|
||||
OsmandInAppPurchaseActivity.purchaseFullVersion(activity);
|
||||
dismiss();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -93,7 +93,6 @@ public class ChoosePlanSeaDepthMapsDialogFragment extends ChoosePlanDialogFragme
|
|||
Activity activity = getActivity();
|
||||
if (activity != null) {
|
||||
OsmandInAppPurchaseActivity.purchaseDepthContours(activity);
|
||||
dismiss();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue