fix: Search public rooms

This commit is contained in:
Christian Pauly 2021-05-24 11:03:08 +02:00
parent ddd5711f79
commit b0ccf845b8

View File

@ -134,7 +134,8 @@ class SearchController extends State<Search> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
alias = VRouter.of(context).queryParameters['query']; alias = VRouter.of(context).queryParameters['query'];
genericSearchTerm = alias; if (alias != null) genericSearchTerm ??= alias;
return SearchView(this); return SearchView(this);
} }
} }