show search bar when closing bottom sheet

Fixes #1172

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
Andy Scherzinger 2021-05-02 23:16:23 +02:00 committed by Marcel Hibbe
parent e32207d11d
commit f119adf974
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B

View File

@ -686,7 +686,7 @@ public class ConversationsListController extends BaseController implements Searc
}
bottomSheet.setOnShowListener(dialog -> new KeyboardUtils(getActivity(), bottomSheet.getLayout(), true));
bottomSheet.setOnDismissListener(dialog -> getActionBar().setDisplayHomeAsUpEnabled(getRouter().getBackstackSize() > 1));
bottomSheet.setOnDismissListener(dialog -> showSearchOrToolbar());
bottomSheet.show();
}