Rename settings::register_setting -> settings::register
This commit is contained in:
parent
2d5f03e148
commit
258723566f
12 changed files with 12 additions and 12 deletions
|
@ -47,7 +47,7 @@ impl settings::Setting for JournalSettings {
|
|||
}
|
||||
|
||||
pub fn init(app_state: Arc<AppState>, cx: &mut AppContext) {
|
||||
settings::register_setting::<JournalSettings>(cx);
|
||||
settings::register::<JournalSettings>(cx);
|
||||
|
||||
cx.add_global_action(move |_: &NewJournalEntry, cx| new_journal_entry(app_state.clone(), cx));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue