mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 21:18:35 -07:00
This can just be made global at this point lol
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user