fix: Click on room aliases

This commit is contained in:
Christian Pauly 2021-05-24 11:07:02 +02:00
commit 26f047fb42
2 changed files with 11 additions and 3 deletions

View file

@ -62,7 +62,8 @@ class SearchView extends StatelessWidget {
);
return DefaultTabController(
length: 3,
initialIndex: 1,
initialIndex:
controller.controller.text?.startsWith('#') ?? false ? 0 : 1,
child: Scaffold(
appBar: AppBar(
leading: BackButton(),