Use system text input in magspoof

This commit is contained in:
Willy-JL
2023-08-04 19:48:25 +02:00
parent 700b257897
commit 8163ebb30d
6 changed files with 8 additions and 685 deletions

View File

@@ -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);