mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
Merge translation link into translator credit
Keep settings lean
This commit is contained in:
parent
89eaff4ea8
commit
523ab1fd5e
1 changed files with 11 additions and 7 deletions
|
@ -109,12 +109,16 @@ class _SettingsState extends State<Settings> {
|
||||||
title: Text(
|
title: Text(
|
||||||
AppLocalizations.of(context).settingsTranslatorTitle),
|
AppLocalizations.of(context).settingsTranslatorTitle),
|
||||||
subtitle: Text(translator),
|
subtitle: Text(translator),
|
||||||
),
|
onTap: () {
|
||||||
|
launch(_translationUrl);
|
||||||
|
},
|
||||||
|
)
|
||||||
|
else
|
||||||
ListTile(
|
ListTile(
|
||||||
title: Text("Improve translation"),
|
title: Text("Improve translation"),
|
||||||
subtitle: Text("Help translating to your language"),
|
subtitle: Text("Help translating to your language"),
|
||||||
onTap: () async {
|
onTap: () {
|
||||||
await launch(_translationUrl);
|
launch(_translationUrl);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue