opt.: use ssh term to decompress (#519)
This commit is contained in:
@@ -88,7 +88,7 @@ class _PrivateKeyEditPageState extends State<PrivateKeyEditPage> {
|
||||
'${libL10n.delete} ${l10n.privateKey}(${widget.pki!.id})',
|
||||
)),
|
||||
actions: Btn.ok(
|
||||
onTap: (c) {
|
||||
onTap: () {
|
||||
Pros.key.delete(widget.pki!);
|
||||
context.pop();
|
||||
context.pop();
|
||||
|
||||
@@ -80,7 +80,7 @@ class _PrivateKeyListState extends State<PrivateKeysListPage>
|
||||
context.showRoundDialog(
|
||||
title: libL10n.attention,
|
||||
child: Text(l10n.addSystemPrivateKeyTip),
|
||||
actions: Btn.ok(onTap: (c) {
|
||||
actions: Btn.ok(onTap: () {
|
||||
context.pop();
|
||||
AppRoutes.keyEdit(pki: sysPk).go(context);
|
||||
}).toList,
|
||||
|
||||
Reference in New Issue
Block a user