1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-12 04:59:27 +01:00

ControlCenter: fixed details visible on folders

This commit is contained in:
Daniel Dakhno 2022-06-27 14:42:02 +02:00 committed by Gitea
parent b89138bd17
commit 6625437a5f

View File

@ -189,6 +189,7 @@ public class GBDeviceAdapterv2 extends RecyclerView.Adapter<GBDeviceAdapterv2.Vi
holder.container.setVisibility(View.VISIBLE);
holder.deviceNameLabel.setText(folder.getName());
holder.infoIcons.setVisibility(View.GONE);
holder.deviceInfoBox.setVisibility(View.GONE);
holder.cardViewActivityCardLayout.setVisibility(View.GONE);
if(countDevicesInFolder(folder.getName(), true) == 0){
holder.deviceImageView.setImageResource(R.drawable.ic_device_folder_disabled);