mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-27 08:23:24 +00:00
Small fix
This commit is contained in:
parent
bb8391713c
commit
973273e913
1 changed files with 4 additions and 1 deletions
|
@ -78,6 +78,7 @@ import androidx.core.graphics.ColorUtils;
|
|||
import androidx.fragment.app.FragmentActivity;
|
||||
import androidx.fragment.app.FragmentManager;
|
||||
import androidx.preference.PreferenceManager;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
|
||||
import com.google.android.material.bottomnavigation.BottomNavigationView;
|
||||
import com.sun.mail.iap.BadCommandException;
|
||||
|
@ -365,7 +366,9 @@ public class Helper {
|
|||
else if (child instanceof BottomNavigationView) {
|
||||
Menu menu = ((BottomNavigationView) child).getMenu();
|
||||
menu.setGroupEnabled(0, enabled);
|
||||
} else if (child instanceof ViewGroup)
|
||||
} else if (child instanceof RecyclerView)
|
||||
; // do nothing
|
||||
else if (child instanceof ViewGroup)
|
||||
setViewsEnabled((ViewGroup) child, enabled);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue