update: README

This commit is contained in:
lollipopkit
2023-10-14 23:20:07 +08:00
parent a397f81988
commit 93b52655b5
11 changed files with 33 additions and 40 deletions

View File

@@ -687,7 +687,7 @@ class _SftpPageState extends State<SftpPage> with AfterLayoutMixin {
FutureOr<void> afterFirstLayout(BuildContext context) {
var initPath = '/';
if (Stores.setting.sftpOpenLastPath.fetch()) {
final history = Stores.history.sftpLastPath.fetch(widget.spi.id);
final history = Stores.history.sftpLastPath.fetch(widget.spi.id);
if (history != null) {
initPath = history;
}