refactor: remove unused Dashbot context and request provider; update chat viewmodel to use the existing request model

This commit is contained in:
Udhay-Adithya
2025-09-02 12:44:10 +05:30
parent 5b6c1d5139
commit aef4ee5039
13 changed files with 97 additions and 191 deletions

View File

@@ -130,15 +130,7 @@ class Dashboard extends ConsumerWidget {
floatingActionButton: isDashBotEnabled
? FloatingActionButton(
backgroundColor: Theme.of(context).colorScheme.primaryContainer,
onPressed: () => showDashbotWindow(
context,
ref,
overrides: [
dashbotRequestContextProvider.overrideWith(
(ref) => ref.watch(appDashbotRequestContextProvider),
),
],
),
onPressed: () => showDashbotWindow(context, ref),
child: Padding(
padding: const EdgeInsets.symmetric(
vertical: 6.0,