#73 fix & opt.
- fix: reorder list default drag - opt.: android home widget grey text
This commit is contained in:
@@ -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),
|
||||
),
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -71,6 +71,7 @@ class _SnippetListPageState extends State<SnippetListPage> {
|
||||
return ReorderableListView.builder(
|
||||
padding: const EdgeInsets.all(13),
|
||||
itemCount: filtered.length,
|
||||
buildDefaultDragHandles: false,
|
||||
onReorder: (oldIdx, newIdx) => setState(() {
|
||||
provider.snippets.moveByItem(
|
||||
filtered,
|
||||
|
||||
@@ -43,6 +43,7 @@ class _SSHVirtKeySettingPageState extends State<SSHVirtKeySettingPage> {
|
||||
final allKeys = [...keys, ...disabled];
|
||||
return ReorderableListView.builder(
|
||||
padding: const EdgeInsets.fromLTRB(11, 3, 0, 3),
|
||||
buildDefaultDragHandles: false,
|
||||
itemBuilder: (_, idx) {
|
||||
final key = allKeys[idx];
|
||||
return ListTile(
|
||||
|
||||
Reference in New Issue
Block a user