diff --git a/packages/lw_file_system/lib/src/api/base/directory.dart b/packages/lw_file_system/lib/src/api/base/directory.dart index c31fd74..c1043b4 100644 --- a/packages/lw_file_system/lib/src/api/base/directory.dart +++ b/packages/lw_file_system/lib/src/api/base/directory.dart @@ -174,7 +174,7 @@ mixin GeneralDirectoryFileSystem on GeneralFileSystem { Future reset() async { final files = await getRootDirectory(readData: false); for (final file in files.assets) { - deleteAsset(file.location.path); + deleteAsset(file.path); } } } diff --git a/packages/lw_file_system/lib/src/api/base/key.dart b/packages/lw_file_system/lib/src/api/base/key.dart index 401cad3..4e79d30 100644 --- a/packages/lw_file_system/lib/src/api/base/key.dart +++ b/packages/lw_file_system/lib/src/api/base/key.dart @@ -145,7 +145,7 @@ class KeyDirectoryFileSystem extends KeyFileSystem { final remaining = [...directory.assets]; while (remaining.isNotEmpty) { final asset = remaining.removeAt(0); - final path = asset.location.path; + final path = asset.path; if (asset is RawFileSystemFile) { if (path.endsWith(config.keySuffix)) { assets.add(path.substring(0, path.length - config.keySuffix.length)); diff --git a/packages/lw_file_system/pubspec.yaml b/packages/lw_file_system/pubspec.yaml index 216027e..5e56f41 100644 --- a/packages/lw_file_system/pubspec.yaml +++ b/packages/lw_file_system/pubspec.yaml @@ -24,7 +24,7 @@ dependencies: git: url: https://github.com/LinwoodDev/dart_pkgs path: packages/lw_file_system_api - ref: 5215af151f00842fa1e692b12ae158d39e3da050 + ref: dfda6c2e3cef2e29511f97e9470fd4deb8e0c573 # path: ^1.8.0 dev_dependencies: diff --git a/packages/material_leap/pubspec.yaml b/packages/material_leap/pubspec.yaml index 5de9e9a..668e3ce 100644 --- a/packages/material_leap/pubspec.yaml +++ b/packages/material_leap/pubspec.yaml @@ -19,7 +19,7 @@ dependencies: git: url: https://github.com/LinwoodDev/dart_pkgs path: packages/dart_leap - ref: d45bd54f2efd6a861d6f44a8b833575b0482dc4c + ref: dfda6c2e3cef2e29511f97e9470fd4deb8e0c573 window_manager: ">=0.3.9 <0.6.0" flutter_bloc: ^8.1.5 web: ^1.0.0