upgrade deps and fix some lints
This commit is contained in:
+6
-4
@@ -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();
|
||||
},
|
||||
),
|
||||
|
||||
+1
-1
@@ -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),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user