Merge pull request #1210 from nextcloud/fixBottomSheetDismiss

Show search bar when closing bottom sheet
This commit is contained in:
Andy Scherzinger 2021-05-03 15:57:46 +02:00 committed by GitHub
commit 9348f0fcac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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();
}