mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 23:34:24 +01:00
fix: local page
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
class BuildData {
|
||||
static const String name = "ServerBox";
|
||||
static const int build = 404;
|
||||
static const int build = 405;
|
||||
static const String engine = "3.10.6";
|
||||
static const String buildAt = "2023-08-02 20:14:57.880607";
|
||||
static const int modifications = 4;
|
||||
static const String buildAt = "2023-08-02 23:07:25.944886";
|
||||
static const int modifications = 2;
|
||||
}
|
||||
|
||||
@@ -43,13 +43,16 @@ class _LocalStoragePageState extends State<LocalStoragePage> {
|
||||
void initState() {
|
||||
super.initState();
|
||||
if (widget.initDir != null) {
|
||||
_path = PathWithPrefix(widget.initDir!);
|
||||
setState(() {
|
||||
_path = PathWithPrefix(widget.initDir!);
|
||||
});
|
||||
} else {
|
||||
sftpDir.then((dir) {
|
||||
_path = PathWithPrefix(dir.path);
|
||||
setState(() {
|
||||
_path = PathWithPrefix(dir.path);
|
||||
});
|
||||
});
|
||||
}
|
||||
setState(() {});
|
||||
}
|
||||
|
||||
@override
|
||||
|
||||
Reference in New Issue
Block a user