Skip to content

Commit

Permalink
fix: clippy warnings on flex
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelm41 committed Oct 3, 2024
1 parent f546d8e commit 9e6f0d9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions app/src/app_ui/menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,11 @@ pub fn ui_menu_main(_: &mut Comm) -> Event<Instruction> {
let production_build = option_env!("PRODUCTION_BUILD").unwrap_or("1");
let app_version = option_env!("APPVERSION_STR").unwrap_or("v0.0.0");

let name: &str;
if production_build == "0" {
name = "Ironfish DKG DEMO";
let name: &str = if production_build == "0" {
"Ironfish DKG DEMO"
} else {
name = "Ironfish DKG";
}
"Ironfish DKG"
};

// Display the home screen.
NbglHomeAndSettings::new()
Expand Down
2 changes: 1 addition & 1 deletion app/src/app_ui/run_action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,6 @@ pub fn ui_review<'a>(
.titles(title, _subtitle, _finish_title)
.glyph(&ICON);

Ok(review.show(&fields))
Ok(review.show(fields))
}
}

0 comments on commit 9e6f0d9

Please sign in to comment.