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

@@ -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),