Add user color settings
Some checks failed
Run Tests / run-tests (push) Failing after 1m3s

This commit is contained in:
2026-04-30 14:16:57 +02:00
parent bd9ff7191a
commit 8ae8bc7a24
12 changed files with 291 additions and 68 deletions

View File

@@ -8,7 +8,7 @@ from enums import CounterType
@dialog("Add New Counter", icon=":material/add_box:")
def _add_counter():
colors = crud.get_colors(1)
colors = crud.get_colors()
with st.form(key="add_counter", border=False, clear_on_submit=True):
title = st.text_input("Title:", key="new_counter_title")
counter_type_name = st.selectbox("Type", options=[e.name for e in CounterType], key="new_counter_type")