0xchocolate пре 2 година
родитељ
комит
aa84602958

+ 3 - 0
applications/plugins/wifi_marauder_companion/scenes/wifi_marauder_scene_console_output.c

@@ -48,6 +48,9 @@ void wifi_marauder_scene_console_output_on_enter(void* context) {
 
 
     // Set starting text - for "View Log", this will just be what was already in the text box store
     // Set starting text - for "View Log", this will just be what was already in the text box store
     text_box_set_text(app->text_box, furi_string_get_cstr(app->text_box_store));
     text_box_set_text(app->text_box, furi_string_get_cstr(app->text_box_store));
+    if(furi_string_empty(app->text_box_store)) {
+        text_box_set_text(app->text_box, "The log is empty! :(\nTry sending a command?");
+    }
 
 
     scene_manager_set_scene_state(app->scene_manager, WifiMarauderSceneConsoleOutput, 0);
     scene_manager_set_scene_state(app->scene_manager, WifiMarauderSceneConsoleOutput, 0);
     view_dispatcher_switch_to_view(app->view_dispatcher, WifiMarauderAppViewConsoleOutput);
     view_dispatcher_switch_to_view(app->view_dispatcher, WifiMarauderAppViewConsoleOutput);

+ 1 - 1
applications/plugins/wifi_marauder_companion/wifi_marauder_app.h

@@ -4,7 +4,7 @@
 extern "C" {
 extern "C" {
 #endif
 #endif
 
 
-#define WIFI_MARAUDER_APP_VERSION "v0.3.1"
+#define WIFI_MARAUDER_APP_VERSION "v0.3.2"
 
 
 typedef struct WifiMarauderApp WifiMarauderApp;
 typedef struct WifiMarauderApp WifiMarauderApp;