From 316bcafe5137beebf081776c7b4bf47d7a7cdc3b Mon Sep 17 00:00:00 2001 From: alanpoon Date: Mon, 7 Oct 2024 17:42:22 +0800 Subject: [PATCH] hide status from people list --- src/home/rooms_list.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/home/rooms_list.rs b/src/home/rooms_list.rs index aed24647..6bf94a0a 100644 --- a/src/home/rooms_list.rs +++ b/src/home/rooms_list.rs @@ -335,7 +335,7 @@ impl Widget for RoomsList { item } // Draw the status label as the bottom entry. - else if item_id == status_label_id { + else if item_id == status_label_id && self.room_type == "room" { let item = list.item(cx, item_id, live_id!(status_label)); item.as_view().apply_over(cx, live!{ height: Fit,