[android] Fix editor socket dialog and re-enable socket cardview in the editor

Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
Co-authored by: Séverin Lemaignan <severin@guakamole.org>
This commit is contained in:
Jean-Baptiste
2025-11-26 07:18:26 +01:00
committed by x7z4w
parent 7174d697d4
commit c6ac2919fa
5 changed files with 26 additions and 15 deletions

View File

@@ -355,8 +355,7 @@ public class EditorFragment extends BaseMwmFragment implements View.OnClickListe
{
hasChargeSockets = hasChargeSockets || (type == Metadata.MetadataType.FMD_CHARGE_SOCKETS.toInt());
}
// Hide socket until https://codeberg.org/comaps/comaps/issues/2368 is fixed
//UiUtils.showIf(hasChargeSockets, mCardChargingStation);
UiUtils.showIf(hasChargeSockets, mCardChargingStation);
setCardVisibility(mCardDetails, mDetailsBlocks, editableDetails);
setCardVisibility(mCardSocialMedia, mSocialMediaBlocks, editableDetails);