mirror of
https://github.com/zed-industries/zed.git
synced 2026-06-01 03:14:56 +07:00
agent_ui: Remove the staff-only gate on fast mode toggle
This releases fast mode to everyone. Will cherry pick to preview.
This commit is contained in:
parent
58f84cf041
commit
57dd5aae99
1 changed files with 0 additions and 3 deletions
|
|
@ -4190,9 +4190,6 @@ impl ThreadView {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn fast_mode_available(&self, cx: &Context<Self>) -> bool {
|
fn fast_mode_available(&self, cx: &Context<Self>) -> bool {
|
||||||
if !cx.is_staff() {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
self.as_native_thread(cx)
|
self.as_native_thread(cx)
|
||||||
.and_then(|thread| thread.read(cx).model())
|
.and_then(|thread| thread.read(cx).model())
|
||||||
.map(|model| model.supports_fast_mode())
|
.map(|model| model.supports_fast_mode())
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue