Use global poll for UpowerBattery
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ impl Date {
|
||||
}
|
||||
|
||||
impl Widget for Date {
|
||||
fn wait(&self, _: &mut WaitContext) {}
|
||||
fn wait(&mut self, _: &mut WaitContext) {}
|
||||
fn enter(&mut self) {}
|
||||
fn leave(&mut self) {}
|
||||
fn size(&self) -> (u32, u32) {
|
||||
|
||||
Reference in New Issue
Block a user