fix documents path not found on linux

This commit is contained in:
2026-07-02 19:16:13 +02:00
parent 22aa22ce76
commit c468321637
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ Future<void> _initializePlugins() async {
// PDF rendering (especially needed for web)
pdfrxFlutterInitialize();
// Local storage (not supported on web)
// Local storage (not supported or necessary on web)
if (!kIsWeb) {
final dir = await getApplicationDocumentsDirectory();
Hive.init(dir.path);