fixed issue with some elements visibility in adapter
This commit is contained in:
parent
fb86a15b3f
commit
cd66766735
1 changed files with 5 additions and 0 deletions
|
@ -99,6 +99,11 @@ public class ProfileMenuAdapter extends RecyclerView.Adapter<ProfileViewHolder>
|
|||
Object obj = items.get(position);
|
||||
|
||||
if (obj instanceof ApplicationMode) {
|
||||
holder.divider.setVisibility(View.VISIBLE);
|
||||
holder.icon.setVisibility(View.VISIBLE);
|
||||
holder.descr.setVisibility(View.VISIBLE);
|
||||
holder.aSwitch.setVisibility(View.VISIBLE);
|
||||
holder.menuIcon.setVisibility(View.VISIBLE);
|
||||
final ApplicationMode item = (ApplicationMode) obj;
|
||||
if (isBottomSheet) {
|
||||
holder.divider.setBackgroundColor(isNightMode(app)
|
||||
|
|
Loading…
Reference in a new issue