fix: make login screen use asterisks instead of bullets, bump >6 app limit in Files

This commit is contained in:
2026-04-05 22:55:50 +02:00
parent 5209486436
commit 7ebb2bc2dc
5 changed files with 4 additions and 78 deletions
@@ -60,9 +60,9 @@ struct FileManagerState {
// Apps view
bool at_apps_view;
int app_map[16]; // entry index -> external_apps[] index
SvgIcon app_icons_lg[16]; // 48x48 icons for grid view
SvgIcon app_icons_sm[16]; // 16x16 icons for list view
int app_map[64]; // entry index -> external_apps[] index
SvgIcon app_icons_lg[64]; // 48x48 icons for grid view
SvgIcon app_icons_sm[64]; // 16x16 icons for list view
int app_icon_count;
};
@@ -245,7 +245,7 @@ void filemanager_read_apps(FileManagerState* fm) {
/*
TODO: Fix crash if 16-app ceiling is removed and remove ceiling
*/
for (int i = 0; i < count && fm->entry_count < 16; i++) {
for (int i = 0; i < count && fm->entry_count < 64; i++) {
const char* raw = entries[i];
// Strip "apps/" prefix
if (raw[0] == 'a' && raw[1] == 'p' && raw[2] == 'p' && raw[3] == 's' && raw[4] == '/')