Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 4eaf82f2 authored by Wolf-Martell Montwé's avatar Wolf-Martell Montwé
Browse files

Add thank you message

parent b075da2f
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -44,6 +44,7 @@ internal fun ContributionHeader(
                    logo = GoldenHearthSunburst,
                    title = ContributionIdStringMapper.mapToContributionTitle(contribution.id),
                    description = ContributionIdStringMapper.mapToContributionDescription(contribution.id),
                    thankYou = stringResource(R.string.funding_googleplay_contribution_header_thank_you_message),
                    benefits = ContributionIdStringMapper.mapToContributionBenefits(contribution.id),
                    modifier = modifier,
                )
@@ -67,6 +68,7 @@ private fun ContributionHeaderView(
    title: String,
    description: String,
    modifier: Modifier = Modifier,
    thankYou: String? = null,
    benefits: ImmutableList<String> = persistentListOf(),
) {
    Column(
@@ -94,6 +96,12 @@ private fun ContributionHeaderView(
            textAlign = TextAlign.Center,
        )

        if (thankYou != null) {
            TextBodyMedium(
                text = thankYou,
            )
        }

        if (benefits.isNotEmpty()) {
            Column(
                verticalArrangement = Arrangement.spacedBy(MainTheme.spacings.default),
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@

    <string name="funding_googleplay_contribution_header_title">Support Thunderbird</string>
    <string name="funding_googleplay_contribution_header_description">We never show advertisements or sell your data. We are fully funded by financial contributions from our users. If you’re enjoying Thunderbird, please help support it.  We can’t do this without you!</string>
    <string name="funding_googleplay_contribution_header_thank_you_message">Thank you for your generous donation! Your support directly strengthens Thunderbird, and we’re grateful to have you by our side on this journey.</string>

    <string name="funding_googleplay_contribution_list_title">Secure contribution</string>
    <string name="funding_googleplay_contribution_list_type_one_time">Give once</string>