diff --git a/applications/settings/dolphin_passport/passport.c b/applications/settings/dolphin_passport/passport.c index abcc12fa5c..a38b718cdf 100644 --- a/applications/settings/dolphin_passport/passport.c +++ b/applications/settings/dolphin_passport/passport.c @@ -66,7 +66,7 @@ static void render_callback(Canvas* canvas, void* _ctx) { } // multipass - canvas_draw_icon(canvas, 0, 0, &I_passport_DB); + canvas_draw_icon(canvas, 0, 0, &I_passport_128x64); // portrait furi_assert((stats->level > 0) && (stats->level <= DOLPHIN_LEVEL_COUNT + 1)); diff --git a/assets/icons/Passport/passport_DB.png b/assets/icons/Passport/passport_128x64.png similarity index 100% rename from assets/icons/Passport/passport_DB.png rename to assets/icons/Passport/passport_128x64.png diff --git a/documentation/file_formats/AssetPacks.md b/documentation/file_formats/AssetPacks.md index c2827d49db..c4b50133e8 100644 --- a/documentation/file_formats/AssetPacks.md +++ b/documentation/file_formats/AssetPacks.md @@ -93,7 +93,7 @@ SD/ |... |-Passport/ |-passport_happy_46x49.bmx - |-passport_DB.bmx + |-passport_128x64.bmx |... |-RFID/ |-RFIDDolphinReceive_97x61.bmx @@ -107,7 +107,6 @@ Which is the same you can find in the firmware source code, in `assets/icons`. T - The pixel numbers in the filename are ignored, they are there purely because of the original Flipper icon names and for a hint as to how you should size your icons, but they are not enforced. - We kept the original naming scheme and file structure for compatibility, but the original setup is quite bad, so bear with us. Some icons in subfolders (like `SubGhz/Scanning_123x52`) are used in other unrelated apps/places. - Some icons in the official firmware have different versions with different numbers to indicate the flipper level they target. Since our system has so many levels, we decided to keep it simple and remove the level progression from icons. For example `Passport/passport_happy1_46x49` becomes `Passport/passport_happy_46x49` and `Animations/Levelup1_128x64` becomes `Animations/Levelup_128x64`. -- The `Passport/passport_DB` is the background for the passport page, it doesn't mention a pixel size because it should be the same as the Flipper screen size (128x64). This system supports **all** internal assets! diff --git a/targets/f7/api_symbols.csv b/targets/f7/api_symbols.csv index 0f538b0dd5..e4fbdda671 100644 --- a/targets/f7/api_symbols.csv +++ b/targets/f7/api_symbols.csv @@ -3907,7 +3907,7 @@ Variable,+,I_next_text_19x6,Icon, Variable,+,I_off_19x20,Icon, Variable,+,I_off_hover_19x20,Icon, Variable,+,I_off_text_12x5,Icon, -Variable,+,I_passport_DB,Icon, +Variable,+,I_passport_128x64,Icon, Variable,+,I_passport_bad_46x49,Icon, Variable,+,I_passport_happy_46x49,Icon, Variable,+,I_passport_okay_46x49,Icon,