mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-26 15:53:36 +00:00
Update domains to comaps.app
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
a08110e83d
commit
36bb1e3182
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user