Skip to content

Commit c80556b

Browse files
committed
Buttons OK
1 parent f9d550e commit c80556b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

feature-phone.wasm

-100 Bytes
Binary file not shown.

feature-phone.zig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ fn createCallButtons(cont: *c.lv_obj_t) !void {
178178
const text = call_labels[i].ptr;
179179
const btn = c.lv_btn_create(cont);
180180
c.lv_obj_set_size(btn, 250, 100);
181-
c.lv_obj_add_flag(btn, c.LV_OBJ_FLAG_CHECKABLE);
182181
_ = c.lv_obj_add_event_cb(btn, eventHandler, c.LV_EVENT_ALL, @intToPtr(*anyopaque, @ptrToInt(text)));
183182

184183
const label = c.lv_label_create(btn);
@@ -195,7 +194,6 @@ fn createDigitButtons(cont: *c.lv_obj_t) !void {
195194
const text = digit_labels[i].ptr;
196195
const btn = c.lv_btn_create(cont);
197196
c.lv_obj_set_size(btn, 150, 120);
198-
c.lv_obj_add_flag(btn, c.LV_OBJ_FLAG_CHECKABLE);
199197
_ = c.lv_obj_add_event_cb(btn, eventHandler, c.LV_EVENT_ALL, @intToPtr(*anyopaque, @ptrToInt(text)));
200198

201199
const label = c.lv_label_create(btn);

0 commit comments

Comments
 (0)