mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-20 02:47:34 +03:00
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:
parent
b00338195e
commit
6c3e3c84ec
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user