search field redirect to aur page

This commit is contained in:
2024-01-29 22:42:11 +01:00
parent c924a151cb
commit 0bb180f464
4 changed files with 23 additions and 19 deletions

View File

@ -43,7 +43,9 @@ final appRouter = GoRouter(
),
GoRoute(
path: '/aur',
builder: (context, state) => AurScreen(),
builder: (context, state) {
return AurScreen(initalQuery: state.uri.queryParameters["query"]);
},
),
GoRoute(
path: '/package/:id',