parent
d1cabef2bf
commit
e092aed253
2 changed files with 82 additions and 56 deletions
|
@ -95,6 +95,12 @@ impl FeatureFlag for AcpFeatureFlag {
|
|||
const NAME: &'static str = "acp";
|
||||
}
|
||||
|
||||
pub struct ClaudeCodeFeatureFlag;
|
||||
|
||||
impl FeatureFlag for ClaudeCodeFeatureFlag {
|
||||
const NAME: &'static str = "claude-code";
|
||||
}
|
||||
|
||||
pub trait FeatureFlagViewExt<V: 'static> {
|
||||
fn observe_flag<T: FeatureFlag, F>(&mut self, window: &Window, callback: F) -> Subscription
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue