Basic feature flag implementation
This commit is contained in:
@@ -46,7 +46,10 @@ use crate::mappings::{
|
||||
|
||||
///Initialize and register all of our action handlers
|
||||
pub fn init(cx: &mut MutableAppContext) {
|
||||
cx.add_action(deploy_modal);
|
||||
let settings = cx.global::<Settings>();
|
||||
if settings.nightly.modal_terminal {
|
||||
cx.add_action(deploy_modal);
|
||||
}
|
||||
|
||||
terminal_view::init(cx);
|
||||
connected_view::init(cx);
|
||||
|
||||
Reference in New Issue
Block a user