Skip to content

Commit

Permalink
chore: imple default for Page enum
Browse files Browse the repository at this point in the history
  • Loading branch information
replydev committed May 2, 2024
1 parent 1f4be3f commit e80d60f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/interface/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,9 @@ pub enum Page {
Main,
Qrcode,
}

impl Default for Page {
fn default() -> Self {
Self::Main
}
}

0 comments on commit e80d60f

Please sign in to comment.