diff options
author | Patrick Demers <patrickdemers6@gmail.com> | 2022-11-18 08:39:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-18 08:39:42 +0000 |
commit | ec55804c7e2c7abef4e212ecd3c4999ea5cea0e1 (patch) | |
tree | 5f7369371a1869f0aee6fc308cdbc6afdcb25369 | |
parent | 67b6906ead02ceb7d7e46f28ae5c27a510956038 (diff) | |
download | infinity-for-reddit-ec55804c7e2c7abef4e212ecd3c4999ea5cea0e1.tar infinity-for-reddit-ec55804c7e2c7abef4e212ecd3c4999ea5cea0e1.tar.gz infinity-for-reddit-ec55804c7e2c7abef4e212ecd3c4999ea5cea0e1.tar.bz2 infinity-for-reddit-ec55804c7e2c7abef4e212ecd3c4999ea5cea0e1.tar.lz infinity-for-reddit-ec55804c7e2c7abef4e212ecd3c4999ea5cea0e1.tar.xz infinity-for-reddit-ec55804c7e2c7abef4e212ecd3c4999ea5cea0e1.tar.zst infinity-for-reddit-ec55804c7e2c7abef4e212ecd3c4999ea5cea0e1.zip |
hide keyboard when choosing account from bottom sheet (#1231)
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/AccountChooserBottomSheetFragment.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/AccountChooserBottomSheetFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/AccountChooserBottomSheetFragment.java index a358caa2..6eb23968 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/AccountChooserBottomSheetFragment.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/bottomsheetfragments/AccountChooserBottomSheetFragment.java @@ -34,6 +34,7 @@ import ml.docilealligator.infinityforreddit.adapters.AccountChooserRecyclerViewA 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 { @@ -61,6 +62,8 @@ public class AccountChooserBottomSheetFragment extends LandscapeExpandedBottomSh ((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 -> { |