From b0ccf845b8e9701b3b91f29cde1506d0e86c3f27 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Mon, 24 May 2021 11:03:08 +0200 Subject: [PATCH] fix: Search public rooms --- lib/pages/search.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pages/search.dart b/lib/pages/search.dart index 8c8c0a49..deb2ec87 100644 --- a/lib/pages/search.dart +++ b/lib/pages/search.dart @@ -134,7 +134,8 @@ class SearchController extends State { @override Widget build(BuildContext context) { alias = VRouter.of(context).queryParameters['query']; - genericSearchTerm = alias; + if (alias != null) genericSearchTerm ??= alias; + return SearchView(this); } }