From 85e1cd720fea4d8d8d48e8e5a468b7041adc0c61 Mon Sep 17 00:00:00 2001 From: itwrx Date: Thu, 29 Jun 2023 10:40:33 -0500 Subject: [PATCH] use darkMode=true --- ez_bkup.nim | 2 +- views/routine_list.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ez_bkup.nim b/ez_bkup.nim index d3a3499..50362d4 100644 --- a/ez_bkup.nim +++ b/ez_bkup.nim @@ -66,5 +66,5 @@ when isMainModule: # Loads the model from the database and starts the application. #databasePath is coming from shared.nim let model = newRoutineModel(databasePath) - brew("org.itwrx.EZ-Bkup", gui(App(routineModel = model)), icons=["icons/"], stylesheets=[loadStylesheet("styles.css")]) + brew("org.itwrx.EZ-Bkup", gui(App(routineModel = model)), darkTheme = true, icons=["icons/"], stylesheets=[loadStylesheet("styles.css")]) \ No newline at end of file diff --git a/views/routine_list.nim b/views/routine_list.nim index d56bfa1..7842264 100644 --- a/views/routine_list.nim +++ b/views/routine_list.nim @@ -113,7 +113,7 @@ method view(list: RoutineListState): Widget {.locks: "unknown".} = # Edit Button Button {.expand: false.}: #icon = "entity-edit" - icon = "entity-edit-dark-theme" + icon = "entity-edit-dark-theme" tooltip = "Edit this Routine." proc clicked() = ## Opens the EditRoutineDialog for updating the existing routine