hotfix for bbb date when active==false

This commit is contained in:
apoc 2021-02-17 12:11:57 +01:00
parent c55c333988
commit 2c8f0b4501
Signed by: apoc
GPG Key ID: FB5C4A681CCD5FB2

View File

@ -183,11 +183,12 @@ bottomRow.addSpacer(10);
let labelBBBUpdated; let labelBBBUpdated;
if(bbbStatus.active){ if(bbbStatus.active){
labelBBBUpdated = bbbLabelStack.addDate(bbbLastUpdate); labelBBBUpdated = bbbLabelStack.addDate(bbbLastUpdate);
labelBBBUpdated.applyTimeStyle();
} else { } else {
labelBBBUpdated = bbbLabelStack.addTexte("---"); labelBBBUpdated = bbbLabelStack.addText("---");
} }
labelBBBUpdated.font = Font.mediumSystemFont(6); labelBBBUpdated.font = Font.mediumSystemFont(6);
labelBBBUpdated.applyTimeStyle();
bottomRow.addSpacer(3); bottomRow.addSpacer(3);