Update domains to comaps.app

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-05-22 18:39:24 +07:00
committed by Konstantin Pastbin
parent a08110e83d
commit 36bb1e3182
5 changed files with 6 additions and 7 deletions

View File

@@ -329,9 +329,9 @@ public final class Config
public static String getDonateUrl(@NonNull Context context)
{
final String url = getString(KEY_DONATE_URL);
// Enable donations by default if not Google or Huawei. Replace organicmaps.app/donate/ with localized page.
// Enable donations by default if not Google or Huawei. Replace comaps.app/donate/ with localized page.
if ((url.isEmpty() && !BuildConfig.FLAVOR.equals("google") && !BuildConfig.FLAVOR.equals("huawei")) ||
url.endsWith("organicmaps.app/donate/"))
url.endsWith("comaps.app/donate/"))
return context.getString(R.string.app_site_url) + "donate/";
return url;
}