updating json
This commit is contained in:
@@ -17,9 +17,11 @@ class Catlendar(App):
|
||||
"""Create child widgets for the app."""
|
||||
next_ten = get_next_ten()
|
||||
yield Header()
|
||||
yield ListView(
|
||||
*[ListItem(Label(x)) for x in next_ten]
|
||||
)
|
||||
for key, item in next_ten.items():
|
||||
yield Label(key)
|
||||
yield ListView(
|
||||
*[ListItem(Label(x)) for x in item]
|
||||
)
|
||||
yield Footer()
|
||||
|
||||
def action_toggle_dark(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user