feat: Display version number in app
This commit is contained in:
parent
c6f79ce573
commit
25ab90a127
5 changed files with 44 additions and 28 deletions
|
|
@ -578,21 +578,16 @@ class _SettingsState extends State<Settings> {
|
|||
title: Text(L10n.of(context).privacy),
|
||||
onTap: () => launch(AppConfig.privacyUrl),
|
||||
),
|
||||
ListTile(
|
||||
trailing: Icon(Icons.link_outlined),
|
||||
title: Text(L10n.of(context).license),
|
||||
onTap: () => showLicensePage(
|
||||
context: context,
|
||||
applicationIcon:
|
||||
Image.asset('assets/logo.png', width: 100, height: 100),
|
||||
applicationName: AppConfig.applicationName,
|
||||
),
|
||||
),
|
||||
ListTile(
|
||||
trailing: Icon(Icons.code_outlined),
|
||||
title: Text(L10n.of(context).sourceCode),
|
||||
onTap: () => launch(AppConfig.sourceCodeUrl),
|
||||
),
|
||||
ListTile(
|
||||
trailing: Icon(Icons.link_outlined),
|
||||
title: Text(L10n.of(context).about),
|
||||
onTap: () => PlatformInfos.showDialog(context),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue