This commit is contained in:
problematicconsumer
2023-10-05 22:47:24 +03:30
parent 3aa8273210
commit c96a1ebb20
10 changed files with 26 additions and 25 deletions

View File

@@ -109,15 +109,16 @@ class AboutPage extends HookConsumerWidget {
.check();
},
),
ListTile(
title: Text(t.settings.general.openWorkingDir),
trailing: const Icon(Icons.arrow_outward_outlined),
onTap: () async {
final path =
ref.read(filesEditorServiceProvider).workingDir.uri;
await UriUtils.tryLaunch(path);
},
),
if (PlatformUtils.isDesktop)
ListTile(
title: Text(t.settings.general.openWorkingDir),
trailing: const Icon(Icons.arrow_outward_outlined),
onTap: () async {
final path =
ref.read(filesEditorServiceProvider).workingDir.uri;
await UriUtils.tryLaunch(path);
},
),
],
),
),