fix: set proportion width and height for confirm modal
This commit is contained in:
parent
a2f16a4d72
commit
5cecfddae7
1 changed files with 1 additions and 1 deletions
|
|
@ -170,6 +170,6 @@ func (a *application) showConfirmModal(prompt string, buttons []string, onDone f
|
|||
})
|
||||
|
||||
a.pages.
|
||||
AddAndSwitchToPage(confirmModalPageName, ui.Centered(modal, 40, 10), true).
|
||||
AddAndSwitchToPage(confirmModalPageName, ui.Centered(modal, 0, 0), true).
|
||||
ShowPage(flexPageName)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue