mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 22:18:35 -07:00
Use system text input in magspoof
This commit is contained in:
9
applications/external/magspoof/mag.c
vendored
9
applications/external/magspoof/mag.c
vendored
@@ -92,11 +92,6 @@ static Mag* mag_alloc() {
|
||||
view_dispatcher_add_view(
|
||||
mag->view_dispatcher, MagViewTextInput, text_input_get_view(mag->text_input));
|
||||
|
||||
// Custom Mag Text Input
|
||||
mag->mag_text_input = mag_text_input_alloc();
|
||||
view_dispatcher_add_view(
|
||||
mag->view_dispatcher, MagViewMagTextInput, mag_text_input_get_view(mag->mag_text_input));
|
||||
|
||||
return mag;
|
||||
}
|
||||
|
||||
@@ -148,10 +143,6 @@ static void mag_free(Mag* mag) {
|
||||
view_dispatcher_remove_view(mag->view_dispatcher, MagViewTextInput);
|
||||
text_input_free(mag->text_input);
|
||||
|
||||
// Custom Mag TextInput
|
||||
view_dispatcher_remove_view(mag->view_dispatcher, MagViewMagTextInput);
|
||||
mag_text_input_free(mag->mag_text_input);
|
||||
|
||||
// View Dispatcher
|
||||
view_dispatcher_free(mag->view_dispatcher);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user