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:
cogwheel0
2025-09-30 14:48:44 +05:30
parent 2e8db0daa5
commit 17c24a7925
2 changed files with 10 additions and 12 deletions

View File

@@ -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;