Skip to content

Commit

Permalink
Merge pull request #28 from leedave/xremote_add_to_catalog
Browse files Browse the repository at this point in the history
isolated icons
  • Loading branch information
leedave authored Jul 22, 2023
2 parents 9e0df18 + 03681e6 commit 8850982
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Binary file added Tools/xremote/icons/ir_10px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Tools/xremote/icons/sg_10px.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions Tools/xremote/scenes/xremote_scene_sg_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@

void xremote_scene_sg_list_on_enter(void* context) {
XRemote* app = context;

DialogsFileBrowserOptions browser_options;
dialog_file_browser_set_basic_options(&browser_options, SUBGHZ_APP_EXTENSION, &I_sub1_10px);
dialog_file_browser_set_basic_options(&browser_options, SUBGHZ_APP_EXTENSION, &I_sg_10px);
browser_options.base_path = SUBGHZ_APP_FOLDER;

FuriString* path;
path = furi_string_alloc();
furi_string_set(path, SUBGHZ_APP_FOLDER);
bool success = dialog_file_browser_show(app->dialogs, app->file_path, path, &browser_options);
bool success = dialog_file_browser_show(
app->dialogs, app->file_path, path, &browser_options);
furi_string_free(path);

if(success) {
Expand Down
1 change: 0 additions & 1 deletion Tools/xremote/xremote_i.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#include <furi.h>
#include <furi_hal.h>
#include <assets_icons.h>

#include <gui/gui.h>
#include <gui/elements.h>
Expand Down

0 comments on commit 8850982

Please sign in to comment.