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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue