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,14 +109,18 @@ class _SettingsState extends State<Settings> {
|
|||
title: Text(
|
||||
AppLocalizations.of(context).settingsTranslatorTitle),
|
||||
subtitle: Text(translator),
|
||||
onTap: () {
|
||||
launch(_translationUrl);
|
||||
},
|
||||
)
|
||||
else
|
||||
ListTile(
|
||||
title: Text("Improve translation"),
|
||||
subtitle: Text("Help translating to your language"),
|
||||
onTap: () {
|
||||
launch(_translationUrl);
|
||||
},
|
||||
),
|
||||
ListTile(
|
||||
title: Text("Improve translation"),
|
||||
subtitle: Text("Help translating to your language"),
|
||||
onTap: () async {
|
||||
await launch(_translationUrl);
|
||||
},
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue