#73 fix & opt.

- fix: reorder list default drag
- opt.: android home widget grey text
This commit is contained in:
lollipopkit
2023-07-20 18:26:17 +08:00
parent 7f8fbfead3
commit 5a5e2fd1d1
16 changed files with 41 additions and 37 deletions

View File

@@ -33,7 +33,7 @@ class _ServerDetailPageState extends State<ServerDetailPage>
with SingleTickerProviderStateMixin {
late MediaQueryData _media;
late S _s;
final Order _cardsOrder = [];
final Order<String> _cardsOrder = [];
final _setting = locator<SettingStore>();
@override
@@ -81,6 +81,7 @@ class _ServerDetailPageState extends State<ServerDetailPage>
);
});
},
buildDefaultDragHandles: false,
footer: height13,
children: _buildMainList(si.status),
),

View File

@@ -117,6 +117,7 @@ class _ServerPageState extends State<ServerPage>
all: _s.all,
),
padding: const EdgeInsets.fromLTRB(7, 10, 7, 7),
buildDefaultDragHandles: false,
onReorder: (oldIndex, newIndex) => setState(() {
pro.serverOrder.moveByItem(
filtered,