diff --git a/crates/call/src/call.rs b/crates/call/src/call.rs index 4f9ec080596b1a2ec962585e3c6e92ac1808389b..3561cc33852a84d78ed21371432743d9dc540862 100644 --- a/crates/call/src/call.rs +++ b/crates/call/src/call.rs @@ -310,7 +310,7 @@ impl ActiveCall { }) } - pub fn decline_incoming(&mut self, _cx: &mut ModelContext) -> Result<()> { + pub fn decline_incoming(&mut self, _: &mut ModelContext) -> Result<()> { let call = self .incoming_call .0 diff --git a/crates/client/src/telemetry.rs b/crates/client/src/telemetry.rs index 6b6b4b0a08d24f8a147076558a2cd46f835607b0..076ac15710dc99ff697a9618eaee6570492535ef 100644 --- a/crates/client/src/telemetry.rs +++ b/crates/client/src/telemetry.rs @@ -213,7 +213,7 @@ impl Telemetry { drop(state); let this = self.clone(); - cx.spawn(|_cx| async move { + cx.spawn(|_| async move { // Avoiding calling `System::new_all()`, as there have been crashes related to it let refresh_kind = RefreshKind::new() .with_memory() // For memory usage diff --git a/crates/welcome/src/welcome.rs b/crates/welcome/src/welcome.rs index 6650ff459485a5675719b4dfa804737b60eec70f..1c0b7472085767ee835d2b2c1171be3a7631e0a9 100644 --- a/crates/welcome/src/welcome.rs +++ b/crates/welcome/src/welcome.rs @@ -334,16 +334,3 @@ impl Item for WelcomePage { f(*event) } } - -// TODO -// - [X] get theme value -// - [X] In selector -// - [X] In main -// - [ ] get value of keymap selector -// - [X] In selector -// - [X] In main -// - [ ] get all button clicks -// - [ ] get value of usage data enabled -// - [ ] get value of crash reports enabled -// - [ ] get welcome screen close -// - [ ] test all events