gpui: Don't export named Context from prelude (#21869)

This PR updates the `gpui::prelude` to not export the `Context` trait
named.

This prevents some naming clashes in downstream consumers.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-12-11 13:21:40 -05:00 committed by GitHub
parent b3ffbea376
commit 937186da12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 12 additions and 31 deletions

View file

@ -22,11 +22,7 @@ use language_model::{
use settings::SettingsStore;
use std::time::Duration;
use strum::IntoEnumIterator;
use ui::{
div, h_flex, v_flex, Button, ButtonCommon, Clickable, Color, Context, FixedWidth, Icon,
IconName, IconPosition, IconSize, IntoElement, Label, LabelCommon, ParentElement, Styled,
ViewContext, VisualContext, WindowContext,
};
use ui::prelude::*;
use super::anthropic::count_anthropic_tokens;
use super::open_ai::count_open_ai_tokens;