mirror of
https://github.com/zapstore/zapstore.git
synced 2026-10-06 04:58:23 +00:00
Fix curation set user bug
This commit is contained in:
@@ -29,10 +29,11 @@ final appInitializer = FutureProvider<void>((ref) async {
|
||||
);
|
||||
|
||||
// Preload curation sets
|
||||
// Do not use ignoreReturn here
|
||||
if (ref.appCurationSets.countLocal == 0) {
|
||||
await ref.appCurationSets.findAll(params: {'ignoreReturn': true});
|
||||
await ref.appCurationSets.findAll();
|
||||
} else {
|
||||
ref.appCurationSets.findAll(params: {'ignoreReturn': true});
|
||||
ref.appCurationSets.findAll();
|
||||
}
|
||||
|
||||
// Preload zapstore's nostr curation set
|
||||
|
||||
@@ -35,7 +35,6 @@ dependencies:
|
||||
auto_size_text: ^3.0.0
|
||||
intl: ^0.18.1
|
||||
device_info_plus: ^10.1.0
|
||||
# install_plugin: ^2.1.0
|
||||
flutter_layout_grid: ^2.0.6
|
||||
skeletonizer: ^1.1.2+1
|
||||
flutter_phoenix: ^1.1.1
|
||||
|
||||
Reference in New Issue
Block a user