-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Thunderbird website hyperlink on contribution screen #8599
base: main
Are you sure you want to change the base?
Add Thunderbird website hyperlink on contribution screen #8599
Conversation
f514fa2
to
9629677
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, the direction is great. I just found a better way to support in-text links.
Typicaly, we just change the source translations, but as this introduces a placeholder and Weblate doesn't handle that well. I think editing them here is the safer approach. Before merging this patch, we should pull the latest translations from Weblate and update this patch to ensure all changes are included.
Depends on #8608 <- merged
...ay/src/main/kotlin/app/k9mail/feature/funding/googleplay/ui/contribution/ContributionList.kt
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,5 @@ | |||
<?xml version="1.0" encoding="utf-8"?> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We enabled the funding feature for K-9 Mail. These links need to be updated in the K-9 Mail constants.xml
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
0cb881f
to
16010d7
Compare
16010d7
to
fe26882
Compare
@@ -260,3 +294,20 @@ private fun ListErrorView( | |||
) | |||
} | |||
} | |||
|
|||
private fun Context.launchThunderbirdWebsite() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not necessary anymore, the url is handled by the system already.
Fixes #8430
I've followed this commit c777ad5 as a guide.
I still doubt if I should hoist the click event and handle with a side effect as I've seen for other cases or it's ok on this way.