Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hide keyboard when choosing account from bottom sheet #1231

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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