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:
1 parent
1bdbee8173
commit
cf90ddd3e9
1 file changed
+1
-1
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user