@ -39,6 +39,7 @@ public class Clock {
timer.schedule(new TimerTask() {
@Override
public void run() {
if (formatter == null) return;
handler.post(() -> view.setText(formatter.format(new Date())));
}
}, 0, 1000);