Add progress bar for shuffle install

This commit is contained in:
2024-06-08 12:29:35 -04:00
parent 2ed3d8b34d
commit 7abf989de8
2 changed files with 3 additions and 0 deletions

View File

@@ -61,6 +61,7 @@ static Result install_theme_internal(const Entry_List_s * themes, int installmod
char * padded = NULL;
int shuffle_count = 0;
draw_loading_bar(shuffle_count, themes->shuffle_count + 1, INSTALL_SHUFFLE);
Handle body_cache_handle;
if(installmode & THEME_INSTALL_BODY)
@@ -149,6 +150,7 @@ static Result install_theme_internal(const Entry_List_s * themes, int installmod
}
shuffle_count++;
draw_loading_bar(shuffle_count, themes->shuffle_count + 1, INSTALL_SHUFFLE);
}
}