File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,7 @@ pub export fn lv_demo_widgets() void {
3737///////////////////////////////////////////////////////////////////////////////
3838// Create Widgets
3939
40- /// Create the LVGL Widgets that will be rendered on the display. Calls the
41- /// LVGL API that has been wrapped in Zig. Based on
42- /// https://docs.lvgl.io/master/widgets/label.html?highlight=lv_label_create#line-wrap-recoloring-and-scrolling
40+ /// Create the LVGL Widgets that will be rendered on the display
4341fn createWidgets () ! void {
4442 debug ("createWidgets: start" , .{});
4543 defer debug ("createWidgets: end" , .{});
@@ -191,6 +189,7 @@ export fn eventHandler(e: ?*c.lv_event_t) void {
191189 const text = @ptrCast ([* :0 ]u8 , data );
192190 const span = std .mem .span (text );
193191
192+ // Handle the identified button...
194193 if (std .mem .eql (u8 , span , "Call" )) {
195194 // If Call is clicked, call the number
196195 const call_number = display_text [0.. len :0 ];
You can’t perform that action at this time.
0 commit comments