improve ui

This commit is contained in:
2024-11-05 15:27:46 +08:00
parent b49e528ff4
commit adb6cdd0c1
6 changed files with 39 additions and 11 deletions

View File

@@ -451,10 +451,11 @@ class _ComicSourceListState extends State<_ComicSourceList> {
itemBuilder: (context, index) {
var key = json![index]["key"];
var action = currentKey.contains(key)
? const Icon(Icons.check)
? const Icon(Icons.check, size: 22).paddingRight(8)
: Tooltip(
message: "Add",
child: IconButton(
color: context.colorScheme.primary,
icon: const Icon(Icons.add),
onPressed: () async {
await widget.onAdd(