fix documents path not found on linux
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user