fix: onboarding

This commit is contained in:
cogwheel0
2025-08-17 00:50:52 +05:30
parent 7a38c645a1
commit 854b9c256b
5 changed files with 8 additions and 167 deletions

View File

@@ -678,20 +678,7 @@ final userSettingsProvider = FutureProvider<UserSettings>((ref) async {
}
});
// Server Banners provider
final serverBannersProvider = FutureProvider<List<Map<String, dynamic>>>((
ref,
) async {
final api = ref.watch(apiServiceProvider);
if (api == null) return [];
try {
return await api.getBanners();
} catch (e) {
foundation.debugPrint('DEBUG: Error fetching banners: $e');
return [];
}
});
// Conversation Suggestions provider
final conversationSuggestionsProvider = FutureProvider<List<String>>((