added clippy suggestions
This commit is contained in:
@@ -70,12 +70,10 @@ pub fn ui(frame: &mut Frame, app: &mut AppState) {
|
|||||||
let area = centered_rect(60, 25, titleBodyChunks[1]);
|
let area = centered_rect(60, 25, titleBodyChunks[1]);
|
||||||
frame.render_widget(Clear, area);
|
frame.render_widget(Clear, area);
|
||||||
frame.render_widget(
|
frame.render_widget(
|
||||||
exitPrompt::getExitPara({
|
exitPrompt::getExitPara(matches!(
|
||||||
match app.appStatus {
|
app.appStatus,
|
||||||
AppStatus::Saved | AppStatus::Welcome => true,
|
AppStatus::Saved | AppStatus::Welcome
|
||||||
_ => false,
|
)),
|
||||||
}
|
|
||||||
}),
|
|
||||||
area,
|
area,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user