Remove optional path argument when getting settings
This commit is contained in:
parent
1f0e79ee9d
commit
2d5f03e148
35 changed files with 84 additions and 113 deletions
|
@ -16,7 +16,7 @@ pub fn init(cx: &mut AppContext) {
|
|||
if let Some(room) = call.read(cx).room() {
|
||||
if room.read(cx).is_screen_sharing() {
|
||||
if status_indicator.is_none()
|
||||
&& settings::get_setting::<WorkspaceSettings>(None, cx).show_call_status_icon
|
||||
&& settings::get::<WorkspaceSettings>(cx).show_call_status_icon
|
||||
{
|
||||
status_indicator = Some(cx.add_status_bar_item(|_| SharingStatusIndicator));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue