@@ -114,7 +114,7 @@ void nfc_playlist_scene_on_enter_popup_emulating(void* context) {
114114 while (stream_read_line (stream , line )) {
115115
116116 char * str = (char * )furi_string_get_cstr (line );
117-
117+
118118 popup_set_context (app -> popup , app );
119119 popup_set_header (app -> popup , "Emulating" , 64 , 10 , AlignCenter , AlignTop );
120120 popup_set_text (app -> popup , str , 64 , 30 , AlignCenter , AlignTop );
@@ -211,6 +211,7 @@ void nfc_playlist_view_dispatcher_init(NfcPlaylist* app) {
211211 FURI_LOG_D (TAG , "nfc_playlist_view_dispatcher_init allocating views" );
212212 app -> menu = submenu_alloc ();
213213 app -> popup = popup_alloc ();
214+ app -> emulate_timeout = 2000 ;
214215
215216 // assign callback that pass events from views to the scene manager
216217 FURI_LOG_D (TAG , "nfc_playlist_view_dispatcher_init setting callbacks" );
@@ -276,8 +277,6 @@ int32_t nfc_playlist_main(void* p) {
276277 FURI_LOG_D (TAG , "Starting dispatcher..." );
277278 view_dispatcher_run (app -> view_dispatcher );
278279
279- app -> emulate_timeout = 2000 ;
280-
281280 // free all memory
282281 FURI_LOG_I (TAG , "Test app finishing..." );
283282 furi_record_close (RECORD_GUI );
0 commit comments