Skip to content

Commit 9981f72

Browse files
committed
Improve display of progress when creating ssl cert
1 parent 0c59454 commit 9981f72

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/configServer.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -532,18 +532,19 @@ void beginPages() {
532532

533533
static int ticks;
534534
static void progressTick() {
535-
displayTest->drawWaitBar(4, ticks++);
535+
displayTest->drawWaitBar(5, ticks++);
536536
}
537537

538538
void createHttpServer() {
539539
if (!Https::existsCertificate()) {
540-
displayTest->showTextOnGrid(0, 3, "Creating ssl cert!");
541-
540+
displayTest->showTextOnGrid(1, 4, "");
541+
displayTest->showTextOnGrid(0, 5, "");
542+
displayTest->showTextOnGrid(0, 4, "Creating ssl cert!");
542543
}
543544
serverSslCert = Https::getCertificate(progressTick);
544545
server = new HTTPSServer(serverSslCert, 443, 1);
545-
displayTest->clearProgressBar(4);
546-
displayTest->showTextOnGrid(0, 3, "");
546+
displayTest->clearProgressBar(5);
547+
displayTest->showTextOnGrid(0, 4, "");
547548
insecureServer = new HTTPServer(80, 1);
548549

549550
beginPages();

0 commit comments

Comments
 (0)