Example #1
0
static void dismiss_click_handler(ClickRecognizerRef recognizer, void *context) {
  if(s_konami_dismiss==1) {
    win_konami_init();
    win_konami_show();
  }
  else {
    *s_snooze=false;
    if(alarm_is_one_time(s_alarm))
      s_alarm->enabled=false;
    window_stack_pop(true);
  }
}
Example #2
0
static void dismiss_click_handler(ClickRecognizerRef recognizer, void *context) {
  *s_snooze=false;
  if(alarm_is_one_time(s_alarm))
    s_alarm->enabled=false;
  window_stack_pop(true);
}