mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-11 06:09:08 -07:00
Archive: Fix rename extension show/hide behavior
This commit is contained in:
@@ -103,7 +103,9 @@
|
|||||||
- UL: Sync signal delete scene with OFW (by @xMasterX)
|
- UL: Sync signal delete scene with OFW (by @xMasterX)
|
||||||
- UL: Fix incorrect rx key state when opening Read menu (by @xMasterX)
|
- UL: Fix incorrect rx key state when opening Read menu (by @xMasterX)
|
||||||
- OFW: Fixed transition to Saved menu after Delete RAW (by @Skorpionm)
|
- OFW: Fixed transition to Saved menu after Delete RAW (by @Skorpionm)
|
||||||
- Archive: Fix favorite's parent folders thinking they are favorited too (by @Willy-JL)
|
- Archive:
|
||||||
|
- Fix favorite's parent folders thinking they are favorited too (by @Willy-JL)
|
||||||
|
- Fix rename extension show/hide behavior (by @Willy-JL)
|
||||||
- Infrared: Correct Samsung.ir CH+ command (by @skyhawkillusions)
|
- Infrared: Correct Samsung.ir CH+ command (by @skyhawkillusions)
|
||||||
- FBT: Consistent version/branch info, fix gitorigin (by @Willy-JL)
|
- FBT: Consistent version/branch info, fix gitorigin (by @Willy-JL)
|
||||||
- AssetPacker: Pack pre-compiled icons and fonts too (by @Willy-JL)
|
- AssetPacker: Pack pre-compiled icons and fonts too (by @Willy-JL)
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ void archive_scene_rename_on_enter(void* context) {
|
|||||||
ArchiveTabEnum tab = archive_get_tab(archive->browser);
|
ArchiveTabEnum tab = archive_get_tab(archive->browser);
|
||||||
bool hide_ext = tab != ArchiveTabBrowser && tab != ArchiveTabInternal;
|
bool hide_ext = tab != ArchiveTabBrowser && tab != ArchiveTabInternal;
|
||||||
|
|
||||||
if(is_file && !hide_ext) {
|
if(is_file && hide_ext) {
|
||||||
path_extract_ext_str(current->path, archive->file_extension);
|
path_extract_ext_str(current->path, archive->file_extension);
|
||||||
path_extract_filename(current->path, path_name, true);
|
path_extract_filename(current->path, path_name, true);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user