Remove check for free version

This commit is contained in:
Vitaliy 2021-03-19 12:08:03 +02:00
parent 489769b4b2
commit 475ab3fbe7

View file

@ -734,7 +734,7 @@ public abstract class ChoosePlanDialogFragment extends BaseOsmAndDialogFragment
public static void showDialogInstance(@NonNull OsmandApplication app, @NonNull FragmentManager manager, public static void showDialogInstance(@NonNull OsmandApplication app, @NonNull FragmentManager manager,
@NonNull ChoosePlanDialogType dialogType) { @NonNull ChoosePlanDialogType dialogType) {
if (Version.isAmazon() && !Version.isPaidVersion(app)) { if (Version.isAmazon()) {
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(Version.getUrlWithUtmRef(app, "net.osmand.plus"))); Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(Version.getUrlWithUtmRef(app, "net.osmand.plus")));
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
if (AndroidUtils.isIntentSafe(app, intent)) { if (AndroidUtils.isIntentSafe(app, intent)) {