forked from apoc/chaospott_mumble
hotfix for bbb date when active==false
This commit is contained in:
parent
c55c333988
commit
2c8f0b4501
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user