]> git.earman.xyz Git - sensor-watch.git/commitdiff
launcher: fix typo
authorJoey Castillo <jose.castillo@gmail.com>
Mon, 4 Oct 2021 15:57:29 +0000 (11:57 -0400)
committerJoey Castillo <jose.castillo@gmail.com>
Mon, 4 Oct 2021 18:12:39 +0000 (14:12 -0400)
launcher/launcher.c

index 43921106e9aadfff625bc9121ae972f1076fe78a..38a13b5ccc3ace0af8a502b6377871714f26db2f 100644 (file)
@@ -75,7 +75,7 @@ void app_setup() {
             widgets[i].setup(&launcher_state.launcher_settings, &widget_contexts[i]);
         }
 
-        widgets[0].activate(&launcher_state.launcher_settings, widget_contexts[launcher_state.current_widget]);
+        widgets[0].activate(&launcher_state.launcher_settings, widget_contexts[0]);
         event.value = 0;
         event.bit.event_type = EVENT_ACTIVATE;
     }