diff options
-rwxr-xr-x | wearable/app/src/nsa-view-main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wearable/app/src/nsa-view-main.c b/wearable/app/src/nsa-view-main.c index 8ccdbff..b2cb7ff 100755 --- a/wearable/app/src/nsa-view-main.c +++ b/wearable/app/src/nsa-view-main.c @@ -164,6 +164,8 @@ static Evas_Object *__gl_content_get_on_off(void *data, Evas_Object *obj, evas_object_propagate_events_set(check, EINA_FALSE); evas_object_repeat_events_set(check, EINA_TRUE); + evas_object_smart_callback_add(check, "changed", __gl_on_off_clicked_cb, data); + return check; } else { return NULL; @@ -248,7 +250,7 @@ static Evas_Object *__create_nfc_setting_list(void *data) NULL, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL); ad->on_off = elm_genlist_item_append(genlist, itc_on_off, - NULL, NULL, ELM_GENLIST_ITEM_NONE, __gl_on_off_clicked_cb, ad); + ad, NULL, ELM_GENLIST_ITEM_NONE, __gl_on_off_clicked_cb, ad); ad->tap_n_pay = elm_genlist_item_append(genlist, itc_list, ad, NULL, ELM_GENLIST_ITEM_NONE, __gl_tap_n_pay_clicked_cb, ad); |