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);
|
launch(_bugReportUrl);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
if (translator.isNotEmpty)
|
||||||
|
ListTile(
|
||||||
|
title: Text(
|
||||||
|
AppLocalizations.of(context).settingsTranslatorTitle),
|
||||||
|
subtitle: Text(translator),
|
||||||
|
),
|
||||||
ListTile(
|
ListTile(
|
||||||
title:
|
title: Text("Improve translation"),
|
||||||
Text(AppLocalizations.of(context).settingsTranslatorTitle),
|
subtitle: Text("Help translating to your language"),
|
||||||
subtitle: Text(translator.isEmpty
|
|
||||||
? "Help translating to your language"
|
|
||||||
: translator),
|
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
await launch(_translationUrl);
|
await launch(_translationUrl);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue