mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 04:43:54 +01:00
Fix: Issue #3367 Bug: SoftKeyboard showing even after switching from nearby tab to contribution tab (#3368)
Hide keyboard when switched back from NearbyFragment to ContributionsListFragment
This commit is contained in:
parent
61bfe84594
commit
bfb6dfdeaf
1 changed files with 2 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ import fr.free.nrw.commons.notification.NotificationController;
|
|||
import fr.free.nrw.commons.quiz.QuizChecker;
|
||||
import fr.free.nrw.commons.theme.NavigationBaseActivity;
|
||||
import fr.free.nrw.commons.upload.UploadService;
|
||||
import fr.free.nrw.commons.utils.ViewUtil;
|
||||
import io.reactivex.android.schedulers.AndroidSchedulers;
|
||||
import io.reactivex.schedulers.Schedulers;
|
||||
import timber.log.Timber;
|
||||
|
|
@ -179,6 +180,7 @@ public class MainActivity extends NavigationBaseActivity implements FragmentMana
|
|||
Timber.d("Contributions tab selected");
|
||||
tabLayout.getTabAt(CONTRIBUTIONS_TAB_POSITION).select();
|
||||
isContributionsFragmentVisible = true;
|
||||
ViewUtil.hideKeyboard(tabLayout.getRootView());
|
||||
updateMenuItem();
|
||||
break;
|
||||
case NEARBY_TAB_POSITION:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue