Skip to content

Commit f6ab55b

Browse files
committed
move visibility code together
1 parent a482503 commit f6ab55b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MagTag_Tides/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ def show_hilo():
231231
for i, data in enumerate(hilo_data):
232232
# make it visible
233233
hilo_icons[i].hidden = False
234+
hilo_times[i].hidden = False
234235
# icon
235236
hilo_icons[i][0] = 0 if data["type"] == "H" else 1
236237
# time
@@ -240,7 +241,6 @@ def show_hilo():
240241
ampm = "A" if h < 12 else "P"
241242
h = h if h < 13 else h - 12
242243
hilo_times[i].text = "{:>2}:{:02} {}".format(h, m, ampm)
243-
hilo_times[i].hidden = False
244244

245245

246246
def time_to_sleep():

0 commit comments

Comments
 (0)