upgrade deps and fix lints

This commit is contained in:
Fabian Freund
2025-05-25 22:48:33 +02:00
parent 572b27ad8b
commit eba9e6f763
8 changed files with 38 additions and 22 deletions
@@ -51,8 +51,10 @@ GeckoSelectionActionService selectionActionService(Ref ref) {
logger.e('No default search bang found');
}
}),
FindInPageAction((text) {
ref.read(findInPageControllerProvider.notifier).findAll(text: text);
FindInPageAction((text) async {
await ref
.read(findInPageControllerProvider.notifier)
.findAll(text: text);
}),
ShareAction((text) async {
await SharePlus.instance.share(ShareParams(text: text));
@@ -146,8 +146,8 @@ class WebPageDialog extends HookConsumerWidget {
ui_helper.showTabSwitchMessage(
context,
onSwitch: () {
repo.selectTab(tabId);
onSwitch: () async {
await repo.selectTab(tabId);
},
);
@@ -171,8 +171,8 @@ class WebPageDialog extends HookConsumerWidget {
ui_helper.showTabSwitchMessage(
context,
onSwitch: () {
repo.selectTab(tabId);
onSwitch: () async {
await repo.selectTab(tabId);
},
);
@@ -68,8 +68,8 @@ class _BrowserViewState extends ConsumerState<BrowserView>
useOnInitialization(() async {
await ref.read(generalSettingsRepositoryProvider.notifier).fetch().then((
settings,
) {
ref
) async {
await ref
.read(browserDataServiceProvider.notifier)
.deleteDataOnEngineStart(settings.deleteBrowsingDataOnQuit);
});
@@ -40,8 +40,8 @@ class OpenImageInNewTab extends HookConsumerWidget {
showTabSwitchMessage(
context,
onSwitch: () {
repo.selectTab(tabId);
onSwitch: () async {
await repo.selectTab(tabId);
},
);
@@ -40,8 +40,8 @@ class OpenInNewTab extends HookConsumerWidget {
showTabSwitchMessage(
context,
onSwitch: () {
repo.selectTab(tabId);
onSwitch: () async {
await repo.selectTab(tabId);
},
);