fix & opt.

- fix: db type err
- opt.: server detail page `customCmd` card
This commit is contained in:
lollipopkit
2024-03-27 18:10:12 -06:00
parent bfece9ae7d
commit f5d5bf9c37
9 changed files with 46 additions and 70 deletions

View File

@@ -718,6 +718,7 @@ class _ServerDetailPageState extends State<ServerDetailPage>
}
Widget _buildCustom(ServerStatus ss) {
if (ss.customCmds.isEmpty) return UIs.placeholder;
return CardX(
child: ExpandTile(
leading: const Icon(MingCute.command_line, size: 17),