From 6c3e3c84ec8e7a6b6893ddcead2e12fda76c394d Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 10 May 2022 17:32:57 +0200 Subject: [PATCH] Eliminate flicker when contact status is pending We do this by using a bullet. When we have animations, a spinner would be better. Co-Authored-By: Nathan Sobo --- crates/contacts_panel/src/contact_finder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/contacts_panel/src/contact_finder.rs b/crates/contacts_panel/src/contact_finder.rs index 7626971eaf832e9e76cdde78eced238279de6501..0d502b51ebb524c840f952b1a7ba53ee8766430f 100644 --- a/crates/contacts_panel/src/contact_finder.rs +++ b/crates/contacts_panel/src/contact_finder.rs @@ -113,7 +113,7 @@ impl PickerDelegate for ContactFinder { let label = match request_status { ContactRequestStatus::None | ContactRequestStatus::RequestReceived => "+", ContactRequestStatus::RequestSent => "-", - ContactRequestStatus::Pending | ContactRequestStatus::RequestAccepted => "…", + ContactRequestStatus::Pending | ContactRequestStatus::RequestAccepted => "•", }; let style = theme.picker.item.style_for(mouse_state, selected); Flex::row()