mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2025-01-15 04:37:12 +01:00
hide keyboard when choosing account from bottom sheet (#1231)
This commit is contained in:
parent
67b6906ead
commit
ec55804c7e
@ -34,6 +34,7 @@ import ml.docilealligator.infinityforreddit.adapters.AccountChooserRecyclerViewA
|
|||||||
import ml.docilealligator.infinityforreddit.customtheme.CustomThemeWrapper;
|
import ml.docilealligator.infinityforreddit.customtheme.CustomThemeWrapper;
|
||||||
import ml.docilealligator.infinityforreddit.customviews.LandscapeExpandedBottomSheetDialogFragment;
|
import ml.docilealligator.infinityforreddit.customviews.LandscapeExpandedBottomSheetDialogFragment;
|
||||||
import ml.docilealligator.infinityforreddit.utils.SharedPreferencesUtils;
|
import ml.docilealligator.infinityforreddit.utils.SharedPreferencesUtils;
|
||||||
|
import ml.docilealligator.infinityforreddit.utils.Utils;
|
||||||
|
|
||||||
public class AccountChooserBottomSheetFragment extends LandscapeExpandedBottomSheetDialogFragment {
|
public class AccountChooserBottomSheetFragment extends LandscapeExpandedBottomSheetDialogFragment {
|
||||||
|
|
||||||
@ -61,6 +62,8 @@ public class AccountChooserBottomSheetFragment extends LandscapeExpandedBottomSh
|
|||||||
|
|
||||||
((Infinity) activity.getApplication()).getAppComponent().inject(this);
|
((Infinity) activity.getApplication()).getAppComponent().inject(this);
|
||||||
|
|
||||||
|
Utils.hideKeyboard(activity);
|
||||||
|
|
||||||
recyclerView = rootView.findViewById(R.id.recycler_view_account_chooser_bottom_sheet_fragment);
|
recyclerView = rootView.findViewById(R.id.recycler_view_account_chooser_bottom_sheet_fragment);
|
||||||
adapter = new AccountChooserRecyclerViewAdapter(activity, customThemeWrapper, Glide.with(this),
|
adapter = new AccountChooserRecyclerViewAdapter(activity, customThemeWrapper, Glide.with(this),
|
||||||
account -> {
|
account -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user