♻️ Migrated to riverpod v3

This commit is contained in:
2025-12-06 13:00:30 +08:00
parent fd79c11d18
commit 9d03faf594
158 changed files with 6834 additions and 10357 deletions

View File

@@ -38,9 +38,9 @@ class PostShuffleScreen extends HookConsumerWidget {
kBottomControlHeight + MediaQuery.of(context).padding.bottom,
),
child: Builder(
key: ValueKey(postListState.valueOrNull?.length ?? 0),
key: ValueKey(postListState.value?.length ?? 0),
builder: (context) {
final items = postListState.valueOrNull ?? [];
final items = postListState.value ?? [];
if (items.isNotEmpty) {
return CardSwiper(
controller: cardSwiperController,