mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
opt.: migrate fl_lib
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import 'package:toolbox/core/utils/platform/path.dart';
|
||||
import 'package:fl_lib/fl_lib.dart';
|
||||
|
||||
/// It's used on platform's file system.
|
||||
/// So use [Platform.pathSeparator] to join path.
|
||||
@@ -23,7 +23,7 @@ class LocalPath {
|
||||
_path = '/';
|
||||
return;
|
||||
}
|
||||
_path = joinPath(_path, newPath);
|
||||
_path = _path.joinPath(newPath);
|
||||
}
|
||||
|
||||
bool get canBack => path != '$_prefixPath/';
|
||||
|
||||
Reference in New Issue
Block a user