// Callback for when Device ID list has been fetched void device_list_fetched() { reset_inactivity_timer(); if (g_device_count == 0) { show_msg("No devices found!", false, 0); hide_mainwin(); } else { if (!showing_mainwin()) show_mainwin(); hide_msg(); g_device_selected = 0; device_details_fetch(g_device_id_list[g_device_selected]); } }
static void auto_hide(void *data) { s_autohide = NULL; hide_msg(); }
static void back_click_handler(ClickRecognizerRef recognizer, void *context) { if (!s_modal) hide_msg(); }