Added option to open FileViewer always with system dialog, enabled by default on iOS

This commit is contained in:
2023-08-11 21:25:04 +02:00
parent bdb29029c9
commit d6ebc43e5c
8 changed files with 83 additions and 32 deletions

View File

@ -139,6 +139,19 @@ class _SettingsState extends State<Settings> {
const Divider(),
ListTile(
leading: const Icon(Icons.open_in_new_outlined),
title: const Text("Dateien immer mit Systemdialog öffnen"),
trailing: Checkbox(
value: settings.val().fileViewSettings.alwaysOpenExternally,
onChanged: (e) {
settings.val(write: true).fileViewSettings.alwaysOpenExternally = e!;
},
),
),
const Divider(),
ListTile(
leading: const Icon(Icons.live_help_outlined),
title: const Text("Informationen und Lizenzen"),