Make subplaylist external
@@ -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",
|
||||
)
|
||||
|
||||
@@ -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) {
|
||||
|
||||
|
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 119 B |
|
Before Width: | Height: | Size: 119 B |
|
Before Width: | Height: | Size: 120 B |
|
Before Width: | Height: | Size: 119 B |
|
Before Width: | Height: | Size: 119 B |
@@ -1 +0,0 @@
|
||||
1
|
||||