Skip to content

Commit

Permalink
Fixes #56
Browse files Browse the repository at this point in the history
  • Loading branch information
VishnuSanal committed Dec 5, 2021
1 parent bfc68bb commit 6cd5bc4
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.WindowManager;
import android.view.inputmethod.InputMethodManager;
import android.widget.Filter;
import android.widget.ImageView;
Expand Down Expand Up @@ -120,6 +121,10 @@ public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceStat
setUpRecyclerView(requireContext());
setUpChipGroup();

if (getActivity() != null)
requireActivity()
.getWindow()
.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_HIDDEN);
hideKeyboard(view);

importFavourites();
Expand Down

0 comments on commit 6cd5bc4

Please sign in to comment.