Remove button event function

This commit is contained in:
Joseph T. Lyons 2024-01-15 16:28:28 -05:00
parent 148c294c02
commit 355d1fca82

View file

@ -420,15 +420,6 @@ impl Telemetry {
}
}
pub fn report_button_event(self: &Arc<Self>, operation: &'static str) {
let event = Event::Button {
operation,
milliseconds_since_first_event: self.milliseconds_since_first_event(),
};
self.report_event(event)
}
fn milliseconds_since_first_event(&self) -> i64 {
let mut state = self.state.lock();