- move out btns from more vert btn (docker, sftp & etc.)
- redesigned routes
- confirmation before deleting private key
This commit is contained in:
lollipopkit
2023-08-20 18:30:08 +08:00
parent f88f5c3bda
commit a59286473f
16 changed files with 380 additions and 261 deletions

View File

@@ -100,17 +100,10 @@ class _ServerEditPageState extends State<ServerEditPage> with AfterLayoutMixin {
onPressed: () {
_serverProvider.delServer(widget.spi!.id);
context.pop();
context.pop();
context.pop(true);
},
child: Text(
_s.ok,
style: const TextStyle(color: Colors.red),
),
child: Text(_s.ok, style: textRed),
),
TextButton(
onPressed: () => context.pop(),
child: Text(_s.cancel),
)
],
);
},