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 <nathan@zed.dev>
This commit is contained in:
Antonio ScandurraandNathan Sobo committed 2022-05-10 17:32:57 +02:00
1 parent 1bdbee8173
commit cf90ddd3e9
1 file changed
+1 -1
+1 -1
View File
@@ -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()