upgrade deps and fix some lints

This commit is contained in:
Fabian Freund
2025-02-07 21:42:58 +01:00
parent a12ef8244f
commit fe4baa58f5
24 changed files with 47 additions and 36 deletions
@@ -254,8 +254,8 @@ class WebPageDialog extends HookConsumerWidget {
final updateResult = await ref
.read(
chatMetadataRepositoryProvider(
selectedTabId)
.notifier,
selectedTabId,
).notifier,
)
.updateMetadata(
ChatMetadata(mainDocumentId: selectedTabId),
@@ -264,9 +264,11 @@ class WebPageDialog extends HookConsumerWidget {
updateResult.onSuccess((_) {
ref
.read(
bottomSheetControllerProvider.notifier)
bottomSheetControllerProvider.notifier,
)
.show(
TabQaChatSheet(chatId: selectedTabId));
TabQaChatSheet(chatId: selectedTabId),
);
});
}
@@ -827,8 +827,9 @@ class BrowserScreen extends HookConsumerWidget {
draggableScrollableController,
onClose: () {
ref
.read(bottomSheetControllerProvider
.notifier)
.read(
bottomSheetControllerProvider.notifier,
)
.dismiss();
},
),
@@ -34,7 +34,7 @@ class CreateTabSheetWidget extends HookConsumerWidget {
() =>
parameter.preferredTool?.index ??
switch (sharedContent) {
SharedText(text: final text) => KagiTool.search.index
SharedText(text: final _) => KagiTool.search.index
// (showEarlyAccessFeatures && text.length > 25)
// ? KagiTool.assistant.index
// : KagiTool.search.index,
@@ -251,6 +251,7 @@ class ViewTabsSheetWidget extends HookConsumerWidget {
final filteredTabIds = ref.watch(
seamlessFilteredTabIdsProvider(
TabSearchPartition.preview,
// ignore: provider_parameters
ContainerFilterById(containerId: container),
),
);