Prevent crash

pull/208/head
M66B 3 years ago
parent 7b1eb11f7a
commit 9f0352f546

@ -6989,6 +6989,9 @@ public class FragmentCompose extends FragmentBase {
}
private void endSearch() {
if (etSearch == null)
return;
Helper.hideKeyboard(etSearch);
etSearch.setVisibility(View.GONE);
clearSearch();

@ -7204,6 +7204,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
}
private void endSearch() {
if (etSearch == null)
return;
Helper.hideKeyboard(etSearch);
etSearch.setVisibility(View.GONE);
clearSearch();

Loading…
Cancel
Save