mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-24 05:34:45 -07:00
Deauther Upd
This commit is contained in:
@@ -54,8 +54,8 @@ WifideautherApp* wifi_deauther_app_alloc() {
|
||||
app->text_box = text_box_alloc();
|
||||
view_dispatcher_add_view(
|
||||
app->view_dispatcher, WifideautherAppViewConsoleOutput, text_box_get_view(app->text_box));
|
||||
app->text_box_store = furi_string_alloc();
|
||||
furi_string_reserve(app->text_box_store, WIFI_deauther_TEXT_BOX_STORE_SIZE);
|
||||
string_init(app->text_box_store);
|
||||
string_reserve(app->text_box_store, WIFI_deauther_TEXT_BOX_STORE_SIZE);
|
||||
|
||||
app->text_input = text_input_alloc();
|
||||
view_dispatcher_add_view(
|
||||
@@ -74,7 +74,7 @@ void wifi_deauther_app_free(WifideautherApp* app) {
|
||||
view_dispatcher_remove_view(app->view_dispatcher, WifideautherAppViewConsoleOutput);
|
||||
view_dispatcher_remove_view(app->view_dispatcher, WifideautherAppViewTextInput);
|
||||
text_box_free(app->text_box);
|
||||
furi_string_free(app->text_box_store);
|
||||
string_clear(app->text_box_store);
|
||||
text_input_free(app->text_input);
|
||||
|
||||
// View dispatcher
|
||||
@@ -84,7 +84,7 @@ void wifi_deauther_app_free(WifideautherApp* app) {
|
||||
wifi_deauther_uart_free(app->uart);
|
||||
|
||||
// Close records
|
||||
furi_record_close(RECORD_GUI);
|
||||
furi_record_close(RECORD_GUI); // GET PWNED
|
||||
|
||||
free(app);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user