mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
fix: auto reload after restoring
This commit is contained in:
@@ -13,7 +13,7 @@ class SnippetProvider extends ChangeNotifier {
|
||||
final _tags = <String>[];
|
||||
List<String> get tags => _tags;
|
||||
|
||||
void loadData() {
|
||||
void load() {
|
||||
_snippets = Stores.snippet.fetch();
|
||||
final order = Stores.setting.snippetOrder.fetch();
|
||||
if (order.isNotEmpty) {
|
||||
|
||||
Reference in New Issue
Block a user