mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 14:58:36 -07:00
Fix switching asset pack not updating icons/text
This commit is contained in:
@@ -129,6 +129,16 @@ bool xtreme_app_apply(XtremeApp* app) {
|
||||
popup_enable_timeout(app->popup);
|
||||
view_dispatcher_switch_to_view(app->view_dispatcher, XtremeAppViewPopup);
|
||||
return true;
|
||||
} else if(app->apply_pack) {
|
||||
popup_set_header(app->popup, "Reloading...", 64, 26, AlignCenter, AlignCenter);
|
||||
popup_set_text(app->popup, "Applying asset pack...", 64, 40, AlignCenter, AlignCenter);
|
||||
popup_set_callback(app->popup, NULL);
|
||||
popup_set_context(app->popup, NULL);
|
||||
popup_set_timeout(app->popup, 0);
|
||||
popup_disable_timeout(app->popup);
|
||||
view_dispatcher_switch_to_view(app->view_dispatcher, XtremeAppViewPopup);
|
||||
XTREME_ASSETS_FREE();
|
||||
XTREME_ASSETS_LOAD();
|
||||
}
|
||||
|
||||
furi_record_close(RECORD_STORAGE);
|
||||
|
||||
Reference in New Issue
Block a user