Skip to content

Commit

Permalink
hide keyboard when choosing account from bottom sheet (#1231)
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdemers6 authored Nov 18, 2022
1 parent 67b6906 commit ec55804
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import ml.docilealligator.infinityforreddit.customtheme.CustomThemeWrapper;
import ml.docilealligator.infinityforreddit.customviews.LandscapeExpandedBottomSheetDialogFragment;
import ml.docilealligator.infinityforreddit.utils.SharedPreferencesUtils;
import ml.docilealligator.infinityforreddit.utils.Utils;

public class AccountChooserBottomSheetFragment extends LandscapeExpandedBottomSheetDialogFragment {

Expand Down Expand Up @@ -61,6 +62,8 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container,

((Infinity) activity.getApplication()).getAppComponent().inject(this);

Utils.hideKeyboard(activity);

recyclerView = rootView.findViewById(R.id.recycler_view_account_chooser_bottom_sheet_fragment);
adapter = new AccountChooserRecyclerViewAdapter(activity, customThemeWrapper, Glide.with(this),
account -> {
Expand Down

0 comments on commit ec55804

Please sign in to comment.