diff --git a/android/res/layout/about.xml b/android/res/layout/about.xml index 4fb9e914ee..edc400401c 100644 --- a/android/res/layout/about.xml +++ b/android/res/layout/about.xml @@ -71,7 +71,7 @@ app:drawableStartCompat="@drawable/ic_report_a_bug"/> diff --git a/android/src/com/mapswithme/maps/help/HelpFragment.java b/android/src/com/mapswithme/maps/help/HelpFragment.java index e993a43376..3fed5071d5 100644 --- a/android/src/com/mapswithme/maps/help/HelpFragment.java +++ b/android/src/com/mapswithme/maps/help/HelpFragment.java @@ -4,6 +4,7 @@ package com.mapswithme.maps.help; import android.content.Intent; import android.net.Uri; import android.os.Bundle; +import android.text.method.LinkMovementMethod; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; @@ -50,7 +51,7 @@ public class HelpFragment extends BaseMwmFragment implements View.OnClickListene setupItem(R.id.twitter, false, root); setupItem(R.id.faq, true, root); setupItem(R.id.report, true, root); - setupItem(R.id.contribute, true, root); + setupItem(R.id.support_us, true, root); setupItem(R.id.rate, true, root); setupItem(R.id.copyright, false, root); View termOfUseView = root.findViewById(R.id.term_of_use_link); @@ -113,8 +114,8 @@ public class HelpFragment extends BaseMwmFragment implements View.OnClickListene Utils.sendFeedback(getActivity()); break; - case R.id.contribute: - Utils.showContributionPage(getActivity()); + case R.id.support_us: + Utils.showSupportUsPage(getActivity()); break; case R.id.rate: diff --git a/android/src/com/mapswithme/util/Constants.java b/android/src/com/mapswithme/util/Constants.java index 1abeab3d22..febffaedfb 100644 --- a/android/src/com/mapswithme/util/Constants.java +++ b/android/src/com/mapswithme/util/Constants.java @@ -15,7 +15,6 @@ public final class Constants { public static final String SHORT_SHARE_PREFIX = "om://"; public static final String HTTP_SHARE_PREFIX = "https://omaps.app/"; - public static final String INSTALL_LINK = "https://omaps.app/"; public static final String MAILTO_SCHEME = "mailto:"; public static final String MAIL_SUBJECT = "?subject="; @@ -25,10 +24,10 @@ public final class Constants // Profile id is taken from http://graph.facebook.com/MapsWithMe public static final String FB_MAPSME_COMMUNITY_NATIVE = "fb://profile/102378968471811"; public static final String TWITTER = "https://twitter.com/OrganicMapsApp"; - public static final String TELEGRAM = "https://t.me/OrganicMapsApp"; + public static final String TELEGRAM = "https://t.me/OrganicMaps"; public static final String INSTAGRAM = "https://www.instagram.com/organicmaps.app"; - public static final String CONTRIBUTE = "https://github.com/organicmaps/organicmaps/blob/master/docs/CONTRIBUTING.md#how-can-i-contribute"; + public static final String SUPPORT_US = "https://organicmaps.app/support-us"; public static final String WEB_SITE = "https://organicmaps.app"; public static final String GITHUB = "https://github.com/organicmaps/organicmaps"; diff --git a/android/src/com/mapswithme/util/Utils.java b/android/src/com/mapswithme/util/Utils.java index ebd1dfa58c..75de47e024 100644 --- a/android/src/com/mapswithme/util/Utils.java +++ b/android/src/com/mapswithme/util/Utils.java @@ -246,9 +246,9 @@ public class Utils activity.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(Constants.Url.TWITTER))); } - public static void showContributionPage(Activity activity) + public static void showSupportUsPage(Activity activity) { - activity.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(Constants.Url.CONTRIBUTE))); + activity.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(Constants.Url.SUPPORT_US))); } public static void openUrl(@NonNull Context context, @Nullable String url)