fix: center the MFA Code dialog (#199)

This commit is contained in:
hstyi
2025-02-11 16:38:09 +08:00
committed by GitHub
parent 4d80ffafdd
commit f010a13abd

View File

@@ -28,6 +28,7 @@ class TerminalUserInteraction(
prompt[i], prompt[i],
true true
) )
dialog.setLocationRelativeTo(owner)
dialog.title = instruction ?: name ?: StringUtils.EMPTY dialog.title = instruction ?: name ?: StringUtils.EMPTY
passwords[i] = dialog.getText() passwords[i] = dialog.getText()
if (passwords[i].isBlank()) { if (passwords[i].isBlank()) {