use query parameter

This commit is contained in:
Fabian Freund
2025-10-27 05:04:43 +01:00
parent 73572c03ca
commit faa4d9126b
3 changed files with 24 additions and 13 deletions
@@ -192,8 +192,10 @@ class _BrowserViewState extends ConsumerState<BrowserView>
case TabIntentOpenSetting.ask:
switch (sharedContent) {
case SharedUrl():
final route = OpenSharedContentRoute(sharedContent.url);
await router.push(route.location, extra: route.$extra);
final route = OpenSharedContentRoute(
sharedUrl: sharedContent.url.toString(),
);
await router.push(route.location);
case SharedText():
final route = SearchRoute(
tabType: