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
1 changed files with 3 additions and 2 deletions

View File

@ -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);