mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
fixed level up animations not properly being displayed
This commit is contained in:
@@ -557,8 +557,6 @@ static void animation_manager_switch_to_one_shot_view(AnimationManager* animatio
|
||||
view_stack_remove_view(animation_manager->view_stack, prev_view);
|
||||
view_stack_add_view(animation_manager->view_stack, next_view);
|
||||
if (settings->sfw_mode) {
|
||||
one_shot_view_start_animation(animation_manager->one_shot_view, &A_Levelup1_128x64);
|
||||
}else {
|
||||
if (stats.level <= 20) {
|
||||
one_shot_view_start_animation(animation_manager->one_shot_view, &A_Levelup1_128x64_sfw);
|
||||
}
|
||||
@@ -568,6 +566,8 @@ static void animation_manager_switch_to_one_shot_view(AnimationManager* animatio
|
||||
else {
|
||||
furi_assert(0);
|
||||
}
|
||||
}else {
|
||||
one_shot_view_start_animation(animation_manager->one_shot_view, &A_Levelup1_128x64);
|
||||
}
|
||||
free(settings);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user