This can just be made global at this point lol

This commit is contained in:
Willy-JL
2023-10-26 04:03:42 +01:00
parent f474e8c7ca
commit 28bcc09d9b
64 changed files with 249 additions and 286 deletions

View File

@@ -206,8 +206,6 @@ XtremeApp* xtreme_app_alloc() {
// Settings init
XtremeSettings* xtreme_settings = XTREME_SETTINGS();
app->asset_pack_index = 0;
CharList_init(app->asset_pack_names);
Storage* storage = furi_record_open(RECORD_STORAGE);
@@ -229,7 +227,7 @@ XtremeApp* xtreme_app_alloc() {
if(app->asset_pack_index != 0) {
if(idx < app->asset_pack_index) app->asset_pack_index++;
} else {
if(strcmp(copy, xtreme_settings->asset_pack) == 0)
if(strcmp(copy, xtreme_settings.asset_pack) == 0)
app->asset_pack_index = idx + 1;
}
}