mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
Separate translator credit and tranlation link
This commit is contained in:
parent
c631b68266
commit
92f59b3936
1 changed files with 8 additions and 5 deletions
|
@ -96,12 +96,15 @@ class _SettingsState extends State<Settings> {
|
|||
launch(_bugReportUrl);
|
||||
},
|
||||
),
|
||||
if (translator.isNotEmpty)
|
||||
ListTile(
|
||||
title: Text(
|
||||
AppLocalizations.of(context).settingsTranslatorTitle),
|
||||
subtitle: Text(translator),
|
||||
),
|
||||
ListTile(
|
||||
title:
|
||||
Text(AppLocalizations.of(context).settingsTranslatorTitle),
|
||||
subtitle: Text(translator.isEmpty
|
||||
? "Help translating to your language"
|
||||
: translator),
|
||||
title: Text("Improve translation"),
|
||||
subtitle: Text("Help translating to your language"),
|
||||
onTap: () async {
|
||||
await launch(_translationUrl);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue