edit predictions: Restore red dot in status buttons when pending ToS (#24408)

In one of the recent changes to the edit predictions status bar menu, we
lost the red dot that is displayed when the user has Zed as the provider
but hasn't accepted terms of service. Note: All the checks were still in
place, just the visual indicator was missing.

![CleanShot 2025-02-06 at 20 22
21@2x](https://github.com/user-attachments/assets/da8f25dd-5ed2-4bf9-8453-10b80f00bf63)


Release Notes:

- N/A

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
This commit is contained in:
Agus Zubiaga
2025-02-07 15:42:27 -03:00
committed by GitHub
co-authored by Danilo Leal
parent a7a14e59bf
commit fd7fa87939
4 changed files with 93 additions and 53 deletions
+1 -1
View File
@@ -5549,7 +5549,7 @@ impl Editor {
}))
.child(
h_flex()
.w_full()
.flex_1()
.gap_2()
.child(Icon::new(IconName::ZedPredict))
.child(Label::new("Accept Terms of Service"))