opt.: use ssh term to decompress (#519)

This commit is contained in:
lollipopkit🏳️‍⚧️
2024-08-04 11:40:38 +08:00
committed by GitHub
parent 493c86cacb
commit e3c885483b
24 changed files with 120 additions and 154 deletions

View File

@@ -73,10 +73,7 @@ class _SSHTabPageState extends State<SSHTabPage>
return AlertDialog(
title: Text(libL10n.attention),
content: Text('${libL10n.close} SSH ${l10n.conn}($name) ?'),
actions: Btn.ok(
onTap: (c) => context.pop(true),
red: true,
).toList,
actions: Btnx.okReds,
);
},
);
@@ -274,7 +271,7 @@ final class _TabBar extends StatelessWidget implements PreferredSizeWidget {
color: color,
size: 17,
),
onTap: (_) => onClose(name),
onTap: () => onClose(name),
),
),
const Spacer(),