center shutdown dialog

This commit is contained in:
Zlatin Balevsky
2019-10-25 06:14:14 +01:00
parent 43987be463
commit 13243b05ad

View File

@@ -166,6 +166,7 @@ class CliLanterna {
latch.countDown()
} as Runnable)
WaitingDialog waitingForShutdown = new WaitingDialog("MuWire is shutting down","Please wait")
waitingForShutdown.setHints([Window.Hint.CENTERED])
waitingForShutdown.showDialog(textGUI, false)
stopper.start()
while(latch.getCount() > 0) {