Enlarged yes/no dialog

This commit is contained in:
ChristianVisintin
2020-12-06 10:43:41 +01:00
parent 4017739dbb
commit be60ae1705

View File

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