diff --git a/devenv.nix b/devenv.nix index 3f38988..b9aabc5 100644 --- a/devenv.nix +++ b/devenv.nix @@ -38,6 +38,9 @@ packages = with pkgs; [ # Needed by flutter_secure_storage libsecret.dev + + # Needed by path_provider on linux + xdg-user-dirs ]; processes.web-server = { diff --git a/lib/main.dart b/lib/main.dart index 9ff91b2..f4e56aa 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -39,7 +39,7 @@ Future _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);