fix: term help

This commit is contained in:
lollipopkit
2024-06-05 11:12:43 +08:00
parent 413c45a559
commit a03ee2ae0e

View File

@@ -515,9 +515,9 @@ class _SSHPageState extends State<SSHPage> with AutomaticKeepAliveClientMixin {
_terminalStyle = TerminalStyle.fromTextStyle(textStyle); _terminalStyle = TerminalStyle.fromTextStyle(textStyle);
} }
Future<void> _showHelp() async { void _showHelp() {
if (!Stores.setting.sshTermHelpShown.fetch()) { if (!Stores.setting.sshTermHelpShown.fetch()) {
await context.showRoundDialog( context.showRoundDialog(
title: l10n.doc, title: l10n.doc,
child: Text(l10n.sshTermHelp), child: Text(l10n.sshTermHelp),
actions: [ actions: [