Merge branch 'main' into ollama-inline-completions
# Conflicts: # crates/zed/src/zed/edit_prediction_registry.rs
This commit is contained in:
commit
8bb757ab67
223 changed files with 10889 additions and 6346 deletions
|
@ -248,13 +248,9 @@ impl Render for EditPredictionButton {
|
|||
IconName::ZedPredictDisabled
|
||||
};
|
||||
|
||||
if zeta::should_show_upsell_modal(&self.user_store, cx) {
|
||||
if zeta::should_show_upsell_modal() {
|
||||
let tooltip_meta = if self.user_store.read(cx).current_user().is_some() {
|
||||
if self.user_store.read(cx).has_accepted_terms_of_service() {
|
||||
"Choose a Plan"
|
||||
} else {
|
||||
"Accept the Terms of Service"
|
||||
}
|
||||
"Choose a Plan"
|
||||
} else {
|
||||
"Sign In"
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue