Enlarged YesNo dialog popup

This commit is contained in:
ChristianVisintin
2020-11-30 10:37:01 +01:00
parent 4b800e4892
commit 6c47f4a426

View File

@@ -1699,7 +1699,7 @@ impl FileTransferActivity {
PopupType::Input(_, _) => (30, 10),
PopupType::Progress(_) => (40, 10),
PopupType::Wait(_) => (50, 10),
PopupType::YesNo(_, _, _) => (10, 10),
PopupType::YesNo(_, _, _) => (20, 10),
};
let popup_area: Rect = self.draw_popup_area(f.size(), width, height);
f.render_widget(Clear, popup_area); //this clears out the background