♻️ 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

@@ -66,7 +66,7 @@ class ThoughtScreen extends HookConsumerWidget {
);
// Get initial thoughts and topic from provider
final initialThoughts = thoughts.valueOrNull;
final initialThoughts = thoughts.value;
final initialTopic =
(initialThoughts?.isNotEmpty ?? false) &&
initialThoughts!.first.sequence?.topic != null