Skip to content

Commit

Permalink
Merge branch 'contribute-to-your-country-link' of https://github.com/…
Browse files Browse the repository at this point in the history
…jnnabugwu/smooth-app into contribute-to-your-country-link
  • Loading branch information
jnnabugwu committed Aug 5, 2024
2 parents 29764bb + 78646bb commit e7f854e
Showing 1 changed file with 10 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,16 @@ class UserPreferencesContribute extends AbstractUserPreferences {
Icons.adaptive.share,
),
_getListTile(
appLocalizations.contribute_donate_header,
() async => LaunchUrlHelper.launchURL(
AppLocalizations.of(context).donate_url,
),
Icons.volunteer_activism,
icon: UserPreferencesListTile.getTintedIcon(
Icons.open_in_new, context),
externalLink: true,),
if (TmpCountryWikiLinks()
.wikiLinks
.containsKey(userPreferences.userCountryCode))
appLocalizations.contribute_donate_header,
() async => LaunchUrlHelper.launchURL(
AppLocalizations.of(context).donate_url,
),
Icons.volunteer_activism,
icon:
UserPreferencesListTile.getTintedIcon(Icons.open_in_new, context),
externalLink: true,
),
if(CountryWikiLinks().wikiLinks.containsKey(userPreferences.userCountryCode))
_getListTile(
'Help improve Open Food Facts in your country',
() async => LaunchUrlHelper.launchURL(TmpCountryWikiLinks()
Expand Down

0 comments on commit e7f854e

Please sign in to comment.