Explorar el Código

HexEditor: Icon, name, path

Willy-JL hace 2 años
padre
commit
f6b3a6aa53

+ 2 - 2
hex_editor/application.fam

@@ -1,6 +1,6 @@
 App(
     appid="hex_editor",
-    name="Hex Editor",
+    name="HEX Editor",
     apptype=FlipperAppType.EXTERNAL,
     entry_point="hex_editor_app",
     cdefines=["APP_HEX_EDITOR"],
@@ -11,6 +11,6 @@ App(
     stack_size=2 * 1024,
     order=20,
     fap_icon="icons/edit_10px.png",
-    fap_category="Misc",
+    fap_category="Tools",
     fap_icon_assets="icons",
 )

+ 2 - 2
hex_editor/hex_editor.c

@@ -12,7 +12,7 @@
 #include <toolbox/stream/file_stream.h>
 
 #include <hex_editor_icons.h>
-// #include <assets_icons.h>
+#include <assets_icons.h>
 
 #define TAG "HexEditor"
 
@@ -159,7 +159,7 @@ int32_t hex_editor_app(void* p) {
         if(p && strlen(p)) {
             furi_string_set(file_path, (const char*)p);
         } else {
-            furi_string_set(file_path, "/any");
+            furi_string_set(file_path, STORAGE_EXT_PATH_PREFIX);
 
             DialogsFileBrowserOptions browser_options;
             dialog_file_browser_set_basic_options(&browser_options, "*", &I_edit_10px);

BIN
hex_editor/icons/Pin_arrow_up_7x9.png