From be733aa7fe8a0e5be3d2efe5226e3505f5a2517e Mon Sep 17 00:00:00 2001 From: Philipp Kewisch Date: Thu, 24 Oct 2024 12:53:34 +0200 Subject: [PATCH] Include app source in funding URL --- app-thunderbird/src/main/res/values/constants.xml | 2 +- .../main/java/com/fsck/k9/ui/settings/SettingsListFragment.kt | 2 +- legacy/ui/legacy/src/main/res/values/constants.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app-thunderbird/src/main/res/values/constants.xml b/app-thunderbird/src/main/res/values/constants.xml index 70ae9ddf39a..9d9623a3ad4 100644 --- a/app-thunderbird/src/main/res/values/constants.xml +++ b/app-thunderbird/src/main/res/values/constants.xml @@ -2,7 +2,7 @@ https://www.thunderbird.net/mobile https://support.mozilla.org/products/thunderbird-android - https://www.thunderbird.net/donate/mobile/?form=tfa + https://www.thunderbird.net/donate/mobile/?form=tfa&utm_source=%s&utm_medium=android_app&utm_campaign=inapp_appeal_v1 Thunderbird for Android https://github.com/thunderbird/thunderbird-android/graphs/contributors https://github.com/thunderbird/thunderbird-android diff --git a/legacy/ui/legacy/src/main/java/com/fsck/k9/ui/settings/SettingsListFragment.kt b/legacy/ui/legacy/src/main/java/com/fsck/k9/ui/settings/SettingsListFragment.kt index cf3938b05e5..18d6a70cd02 100644 --- a/legacy/ui/legacy/src/main/java/com/fsck/k9/ui/settings/SettingsListFragment.kt +++ b/legacy/ui/legacy/src/main/java/com/fsck/k9/ui/settings/SettingsListFragment.kt @@ -167,7 +167,7 @@ class SettingsListFragment : Fragment(), ItemTouchCallback { FundingType.LINK -> { addUrlAction( text = getString(R.string.settings_list_action_support, brandNameProvider.brandName), - url = getString(R.string.funding_url), + url = getString(R.string.funding_url, requireContext().getPackageName()), icon = Icons.Outlined.Favorite, ) } diff --git a/legacy/ui/legacy/src/main/res/values/constants.xml b/legacy/ui/legacy/src/main/res/values/constants.xml index b6c011c5ef8..89c544e9687 100644 --- a/legacy/ui/legacy/src/main/res/values/constants.xml +++ b/legacy/ui/legacy/src/main/res/values/constants.xml @@ -2,7 +2,7 @@ https://k9mail.app/ https://forum.k9mail.app/ - https://www.thunderbird.net/donate/mobile/?form=tfa + https://www.thunderbird.net/donate/mobile/?form=tfa&utm_source=%s&utm_medium=android_app&utm_campaign=inapp_appeal_v1 K-9 Mail for Android https://github.com/thunderbird/thunderbird-android/graphs/contributors https://github.com/thunderbird/thunderbird-android