Skip to content

Commit

Permalink
Fix Infrared Remote Folder Location
Browse files Browse the repository at this point in the history
  • Loading branch information
RogueMaster committed May 8, 2023
1 parent c228016 commit 1edacd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ This software is for experimental purposes only and is not meant for any illegal
- Updated: [CLI Bridge (By ranchordo)](https://github.com/ranchordo/flipperzero-cli-bridge) (Changes by xMasterX)
- Updated: [Device Info (By hedger)](https://github.com/hedger/flipperdevinfo)
- OFW: [Fix storage.py exist_dir logic #2639 (By perryprog)](https://github.com/flipperdevices/flipperzero-firmware/pull/2639)
- Fix Infrared Remote Folder Location

<a name="release">

Expand Down
6 changes: 3 additions & 3 deletions applications/external/ir_remote/infrared_remote_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ int32_t infrared_remote_app(void* p) {
DialogsFileBrowserOptions browser_options;
dialog_file_browser_set_basic_options(&browser_options, ".txt", &I_sub1_10px);
FuriString* map_file = furi_string_alloc();
furi_string_set(map_file, "/ext/ir_remote");
if(!storage_file_exists(storage, ANY_PATH("ir_remote"))) {
storage_common_mkdir(storage, ANY_PATH("ir_remote")); //Make Folder If dir not exist
furi_string_set(map_file, "/ext/infrared/ir_remote");
if(!storage_file_exists(storage, ANY_PATH("infrared/ir_remote"))) {
storage_common_mkdir(storage, ANY_PATH("infrared/ir_remote")); //Make Folder If dir not exist
}

bool res = dialog_file_browser_show(dialogs, map_file, map_file, &browser_options);
Expand Down

0 comments on commit 1edacd1

Please sign in to comment.