Layout error 50% width

This commit is contained in:
ChristianVisintin 2020-12-01 16:03:48 +01:00
parent 34752f0e47
commit c19416abdd

View file

@ -88,8 +88,8 @@ impl FileTransferActivity {
if let InputMode::Popup(popup) = &self.input_mode {
// Calculate popup size
let (width, height): (u16, u16) = match popup {
PopupType::Alert(_, _) => (30, 10),
PopupType::Fatal(_) => (30, 10),
PopupType::Alert(_, _) => (50, 10),
PopupType::Fatal(_) => (50, 10),
PopupType::Help => (50, 70),
PopupType::Input(_, _) => (30, 10),
PopupType::Progress(_) => (40, 10),