Add support to Zim (#545)
This commit is contained in:
@@ -20,10 +20,7 @@ enum BoxStatus {
|
||||
|
||||
impl BoxStatus {
|
||||
fn powered_on(self) -> bool {
|
||||
match self {
|
||||
BoxStatus::Running => true,
|
||||
_ => false,
|
||||
}
|
||||
matches!(self, BoxStatus::Running)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user