mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 15:00:46 +00:00
Adjusted all the scenes with DolphinMafia image
This commit is contained in:
parent
d5164c427f
commit
5bff5ca40d
6 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,7 @@ void ibutton_scene_delete_success_on_enter(void* context) {
|
||||||
Popup* popup = ibutton->popup;
|
Popup* popup = ibutton->popup;
|
||||||
|
|
||||||
popup_set_icon(popup, 0, 2, &I_DolphinMafia_119x62);
|
popup_set_icon(popup, 0, 2, &I_DolphinMafia_119x62);
|
||||||
|
popup_set_header(popup, "Deleted", 80, 19, AlignLeft, AlignBottom);
|
||||||
popup_set_callback(popup, ibutton_scene_delete_success_popup_callback);
|
popup_set_callback(popup, ibutton_scene_delete_success_popup_callback);
|
||||||
popup_set_context(popup, ibutton);
|
popup_set_context(popup, ibutton);
|
||||||
popup_set_timeout(popup, 1500);
|
popup_set_timeout(popup, 1500);
|
||||||
|
|
|
@ -5,6 +5,7 @@ void infrared_scene_edit_delete_done_on_enter(void* context) {
|
||||||
Popup* popup = infrared->popup;
|
Popup* popup = infrared->popup;
|
||||||
|
|
||||||
popup_set_icon(popup, 0, 2, &I_DolphinMafia_119x62);
|
popup_set_icon(popup, 0, 2, &I_DolphinMafia_119x62);
|
||||||
|
popup_set_header(popup, "Deleted", 80, 19, AlignLeft, AlignBottom);
|
||||||
popup_set_callback(popup, infrared_popup_closed_callback);
|
popup_set_callback(popup, infrared_popup_closed_callback);
|
||||||
popup_set_context(popup, context);
|
popup_set_context(popup, context);
|
||||||
popup_set_timeout(popup, 1500);
|
popup_set_timeout(popup, 1500);
|
||||||
|
|
|
@ -5,6 +5,7 @@ void lfrfid_scene_delete_success_on_enter(void* context) {
|
||||||
Popup* popup = app->popup;
|
Popup* popup = app->popup;
|
||||||
|
|
||||||
popup_set_icon(popup, 0, 2, &I_DolphinMafia_119x62);
|
popup_set_icon(popup, 0, 2, &I_DolphinMafia_119x62);
|
||||||
|
popup_set_header(popup, "Deleted", 80, 19, AlignLeft, AlignBottom);
|
||||||
popup_set_context(popup, app);
|
popup_set_context(popup, app);
|
||||||
popup_set_callback(popup, lfrfid_popup_timeout_callback);
|
popup_set_callback(popup, lfrfid_popup_timeout_callback);
|
||||||
popup_set_timeout(popup, 1500);
|
popup_set_timeout(popup, 1500);
|
||||||
|
|
|
@ -11,6 +11,7 @@ void nfc_scene_delete_success_on_enter(void* context) {
|
||||||
// Setup view
|
// Setup view
|
||||||
Popup* popup = nfc->popup;
|
Popup* popup = nfc->popup;
|
||||||
popup_set_icon(popup, 0, 2, &I_DolphinMafia_119x62);
|
popup_set_icon(popup, 0, 2, &I_DolphinMafia_119x62);
|
||||||
|
popup_set_header(popup, "Deleted", 80, 19, AlignLeft, AlignBottom);
|
||||||
popup_set_timeout(popup, 1500);
|
popup_set_timeout(popup, 1500);
|
||||||
popup_set_context(popup, nfc);
|
popup_set_context(popup, nfc);
|
||||||
popup_set_callback(popup, nfc_scene_delete_success_popup_callback);
|
popup_set_callback(popup, nfc_scene_delete_success_popup_callback);
|
||||||
|
|
|
@ -13,6 +13,7 @@ void subghz_scene_delete_success_on_enter(void* context) {
|
||||||
// Setup view
|
// Setup view
|
||||||
Popup* popup = subghz->popup;
|
Popup* popup = subghz->popup;
|
||||||
popup_set_icon(popup, 0, 2, &I_DolphinMafia_119x62);
|
popup_set_icon(popup, 0, 2, &I_DolphinMafia_119x62);
|
||||||
|
popup_set_header(popup, "Deleted", 80, 19, AlignLeft, AlignBottom);
|
||||||
popup_set_timeout(popup, 1500);
|
popup_set_timeout(popup, 1500);
|
||||||
popup_set_context(popup, subghz);
|
popup_set_context(popup, subghz);
|
||||||
popup_set_callback(popup, subghz_scene_delete_success_popup_callback);
|
popup_set_callback(popup, subghz_scene_delete_success_popup_callback);
|
||||||
|
|
|
@ -25,6 +25,7 @@ void desktop_settings_scene_pin_disable_on_enter(void* context) {
|
||||||
popup_set_context(app->popup, app);
|
popup_set_context(app->popup, app);
|
||||||
popup_set_callback(app->popup, pin_disable_back_callback);
|
popup_set_callback(app->popup, pin_disable_back_callback);
|
||||||
popup_set_icon(app->popup, 0, 2, &I_DolphinMafia_119x62);
|
popup_set_icon(app->popup, 0, 2, &I_DolphinMafia_119x62);
|
||||||
|
popup_set_header(app->popup, "Deleted", 80, 19, AlignLeft, AlignBottom);
|
||||||
popup_set_timeout(app->popup, 1500);
|
popup_set_timeout(app->popup, 1500);
|
||||||
popup_enable_timeout(app->popup);
|
popup_enable_timeout(app->popup);
|
||||||
view_dispatcher_switch_to_view(app->view_dispatcher, DesktopSettingsAppViewIdPopup);
|
view_dispatcher_switch_to_view(app->view_dispatcher, DesktopSettingsAppViewIdPopup);
|
||||||
|
|
Loading…
Reference in a new issue