Clean up code

This commit is contained in:
Joseph T. Lyons 2024-01-06 15:31:16 -05:00
parent ea1770254d
commit 800c9958a3
3 changed files with 2 additions and 15 deletions

View file

@ -310,7 +310,7 @@ impl ActiveCall {
})
}
pub fn decline_incoming(&mut self, _cx: &mut ModelContext<Self>) -> Result<()> {
pub fn decline_incoming(&mut self, _: &mut ModelContext<Self>) -> Result<()> {
let call = self
.incoming_call
.0

View file

@ -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

View file

@ -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