From 2c8f0b4501370ac8e60a3c5a635ecfee3dcd2ca5 Mon Sep 17 00:00:00 2001 From: apoc Date: Wed, 17 Feb 2021 12:11:57 +0100 Subject: [PATCH] hotfix for bbb date when active==false --- chaospott_mumble.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chaospott_mumble.js b/chaospott_mumble.js index 537259c..9eb41af 100644 --- a/chaospott_mumble.js +++ b/chaospott_mumble.js @@ -183,11 +183,12 @@ bottomRow.addSpacer(10); let labelBBBUpdated; if(bbbStatus.active){ labelBBBUpdated = bbbLabelStack.addDate(bbbLastUpdate); + labelBBBUpdated.applyTimeStyle(); } else { - labelBBBUpdated = bbbLabelStack.addTexte("---"); + labelBBBUpdated = bbbLabelStack.addText("---"); } labelBBBUpdated.font = Font.mediumSystemFont(6); - labelBBBUpdated.applyTimeStyle(); + bottomRow.addSpacer(3);