fix: ssh page pop (#261)

This commit is contained in:
lollipopkit
2024-01-29 13:30:49 +08:00
parent e04fede462
commit 5168995ed9
4 changed files with 30 additions and 28 deletions

View File

@@ -2,9 +2,9 @@
class BuildData {
static const String name = "ServerBox";
static const int build = 729;
static const int build = 730;
static const String engine = "3.16.8";
static const String buildAt = "2024-01-28 23:13:08";
static const int modifications = 5;
static const String buildAt = "2024-01-29 10:56:10";
static const int modifications = 2;
static const int script = 36;
}

View File

@@ -413,7 +413,9 @@ class _SSHPageState extends State<SSHPage> with AutomaticKeepAliveClientMixin {
onPressed: () {
if (mounted) {
context.pop();
context.pop();
if (widget.pop) {
context.pop();
}
}
},
child: Text(l10n.ok),