mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
fix
- fix: same name snippet caused err - fix: auto load servers from db after restoring
This commit is contained in:
@@ -83,7 +83,7 @@ class _SnippetListPageState extends State<SnippetListPage> {
|
||||
itemBuilder: (context, idx) {
|
||||
final snippet = filtered.elementAt(idx);
|
||||
return ReorderableDelayedDragStartListener(
|
||||
key: ValueKey(snippet.name),
|
||||
key: ValueKey(idx),
|
||||
index: idx,
|
||||
child: _buildSnippetItem(snippet),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user