fixed connected color not showing state at first glance

pull/3285/head
Stuff-etc 2024-03-27 14:11:35 +01:00
parent aa015893ae
commit 6a2d4e8468
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ function drawMinutes() {
var d = new Date();
var hours = s.MODE24 ? d.getHours().toString().padStart(2, ' ') : ((d.getHours() + 24) % 12 || 12).toString().padStart(2, ' ');
var minutes = d.getMinutes().toString().padStart(2, '0');
var textColor = NRF.getSecurityStatus().connected ? '#99f' : '#fff';
var textColor = NRF.getSecurityStatus().connected ? '#fff' : '#f00';
var size = 50;
var clock_x = (w - 20) / 2;
if (dimSeconds) {