- move out btns from more vert btn (docker, sftp & etc.)
- redesigned routes
- confirmation before deleting private key
This commit is contained in:
lollipopkit
2023-08-20 18:30:08 +08:00
parent f88f5c3bda
commit a59286473f
16 changed files with 380 additions and 261 deletions

View File

@@ -22,7 +22,6 @@ import '../../../data/res/color.dart';
import '../../../data/res/terminal.dart';
import '../../../data/store/setting.dart';
import '../../../locator.dart';
import '../storage/sftp.dart';
const echoPWD = 'echo \$PWD';
@@ -275,8 +274,7 @@ class _SSHPageState extends State<SSHPage> {
);
return;
}
final page = SftpPage(widget.spi, initPath: initPath);
AppRoute(page, 'SSH SFTP').go(context);
AppRoute.sftp(spi: widget.spi, initPath: initPath).go(context);
}
}