Make subplaylist external

This commit is contained in:
Willy-JL
2023-03-04 00:05:26 +00:00
parent 2984128d64
commit 6c3dfdb1e1
10 changed files with 7 additions and 11 deletions
-1
View File
@@ -6,7 +6,6 @@ App(
"fap_loader",
"subghz",
"unirfremix",
"sub_playlist",
"lfrfid",
"nfc",
"infrared",
@@ -1,12 +1,13 @@
App(
appid="sub_playlist",
appid="SubGHz_Playlist",
name="Sub-GHz Playlist",
apptype=FlipperAppType.APP,
apptype=FlipperAppType.EXTERNAL,
entry_point="playlist_app",
cdefines=["APP_PLAYLIST"],
requires=["storage", "gui", "dialogs", "subghz"],
stack_size=2 * 1024,
order=12,
order=14,
fap_icon="playlist_10px.png",
icon="A_Sub_Playlist_14",
fap_category="Sub-GHz",
fap_icon_assets="images",
)
+2 -5
View File
@@ -6,7 +6,7 @@
#include <storage/storage.h>
#include <lib/toolbox/path.h>
#include <assets_icons.h>
#include <SubGHz_Playlist_icons.h>
#include <lib/subghz/protocols/protocol_items.h>
#include <flipper_format/flipper_format_i.h>
@@ -591,8 +591,6 @@ static void render_callback(Canvas* canvas, void* ctx) {
}
}
break;
default:
break;
}
furi_string_free(temp_str);
@@ -683,9 +681,8 @@ int32_t playlist_app(void* p) {
dialog_file_browser_set_basic_options(&browser_options, PLAYLIST_EXT, &I_sub1_10px);
browser_options.base_path = PLAYLIST_FOLDER;
bool res =
const bool res =
dialog_file_browser_show(dialogs, app->file_path, app->file_path, &browser_options);
furi_record_close(RECORD_DIALOGS);
// check if a file was selected
if(!res) {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 B

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

@@ -1 +0,0 @@
1