mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 05:52:51 +00:00
Added settings links
This commit is contained in:
parent
06c9f7c771
commit
791400f565
4 changed files with 23 additions and 32 deletions
|
@ -273,37 +273,18 @@ class _SettingsWidgetState extends State<_SettingsWidget> {
|
|||
subtitle: appConfigProvider.getAppInfo!.version,
|
||||
),
|
||||
CustomListTile(
|
||||
title: AppLocalizations.of(context)!.createdBy,
|
||||
subtitle: Strings.createdBy,
|
||||
title: AppLocalizations.of(context)!.applicationDetails,
|
||||
subtitle: AppLocalizations.of(context)!.applicationDetailsDescription,
|
||||
trailing: Icon(Icons.open_in_new_rounded),
|
||||
onTap: () => openUrl(Urls.appDetailsWebpage),
|
||||
),
|
||||
Padding(
|
||||
padding: const EdgeInsets.all(15),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
||||
children: [
|
||||
if (Platform.isAndroid) IconButton(
|
||||
onPressed: () => openUrl(Urls.playStore),
|
||||
icon: SvgPicture.asset(
|
||||
'assets/resources/google-play.svg',
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
width: 30,
|
||||
height: 30,
|
||||
),
|
||||
tooltip: AppLocalizations.of(context)!.visitGooglePlay,
|
||||
),
|
||||
IconButton(
|
||||
onPressed: () => openUrl(Urls.gitHub),
|
||||
icon: SvgPicture.asset(
|
||||
'assets/resources/github.svg',
|
||||
color: Theme.of(context).colorScheme.onSurfaceVariant,
|
||||
width: 30,
|
||||
height: 30,
|
||||
),
|
||||
tooltip: AppLocalizations.of(context)!.gitHub,
|
||||
),
|
||||
],
|
||||
),
|
||||
)
|
||||
CustomListTile(
|
||||
title: AppLocalizations.of(context)!.myOtherApps,
|
||||
subtitle: AppLocalizations.of(context)!.myOtherAppsDescription,
|
||||
trailing: Icon(Icons.open_in_new_rounded),
|
||||
onTap: () => openUrl(Urls.jgeek00AppsWebpage),
|
||||
),
|
||||
SizedBox(height: 16)
|
||||
],
|
||||
)
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue