refactor: migrate Phase 6 internal providers (1-2/2) ✅
Migrated internal/private providers: - _conversationsCacheTimestamp → _ConversationsCacheTimestamp - _wasOfflineProvider → _WasOffline Both are private providers with minimal usage. Phase 6 Complete!
This commit is contained in:
@@ -703,12 +703,8 @@ final defaultModelAutoSelectionProvider = Provider<void>((ref) {
|
||||
});
|
||||
|
||||
// Cache timestamp for conversations to prevent rapid re-fetches
|
||||
final _conversationsCacheTimestamp =
|
||||
NotifierProvider<_ConversationsCacheTimestampNotifier, DateTime?>(
|
||||
_ConversationsCacheTimestampNotifier.new,
|
||||
);
|
||||
|
||||
class _ConversationsCacheTimestampNotifier extends Notifier<DateTime?> {
|
||||
@riverpod
|
||||
class _ConversationsCacheTimestamp extends _$ConversationsCacheTimestamp {
|
||||
@override
|
||||
DateTime? build() => null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user