fix(config-sync): satisfy clippy warnings
This commit is contained in:
1 parent
269814945d
commit
4576da4551
2 files changed
+10
-10
No files matched your search
+5
-5
@@ -124,11 +124,11 @@ impl App {
|
||||
import_modpack::render(frame, area, self.focused);
|
||||
}
|
||||
|
||||
if self.focused == FocusedArea::ConfirmDelete {
|
||||
if let Some(target) = confirm_popup::pending_target() {
|
||||
let area = confirm_popup_area(frame.area(), &target);
|
||||
frame.render_widget(ConfirmPopup::for_target(&target), area);
|
||||
}
|
||||
if self.focused == FocusedArea::ConfirmDelete
|
||||
&& let Some(target) = confirm_popup::pending_target()
|
||||
{
|
||||
let area = confirm_popup_area(frame.area(), &target);
|
||||
frame.render_widget(ConfirmPopup::for_target(&target), area);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user