diff options
| author | Reiner Herrmann <reiner@reiner-h.de> | 2026-07-17 01:12:18 +0200 |
|---|---|---|
| committer | Reiner Herrmann <reiner@reiner-h.de> | 2026-07-17 01:12:18 +0200 |
| commit | 7b2319b1727dd25d16f12351376cdba75a404fb1 (patch) | |
| tree | c46f480e22dbdb7a345240813d2ab7c5fa083217 /src/c/app.c | |
| parent | df2fbf4c9291cce340945a0a71de0200ccae7369 (diff) | |
make settings configurable via phone app
Diffstat (limited to 'src/c/app.c')
| -rw-r--r-- | src/c/app.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/c/app.c b/src/c/app.c index 2ce9996..d74c5d3 100644 --- a/src/c/app.c +++ b/src/c/app.c @@ -4,6 +4,7 @@ #include <pebble.h> #include "metronome.h" +#include "config.h" static Window *app_window; static ActionBarLayer *action_bar; @@ -86,6 +87,8 @@ static void primary_action_bar() { } static void init() { + config_init(); + icon_left_arrows = gbitmap_create_with_resource(RESOURCE_ID_LEFT_ARROWS); icon_right_arrows = gbitmap_create_with_resource(RESOURCE_ID_RIGHT_ARROWS); icon_plus = gbitmap_create_with_resource(RESOURCE_ID_PLUS); @@ -104,6 +107,7 @@ static void init() { } static void deinit() { + config_deinit(); window_destroy(app_window); } |
