@@ -114,7 +114,7 @@ void nfc_playlist_scene_on_enter_popup_emulating(void* context) {
114
114
while (stream_read_line (stream , line )) {
115
115
116
116
char * str = (char * )furi_string_get_cstr (line );
117
-
117
+
118
118
popup_set_context (app -> popup , app );
119
119
popup_set_header (app -> popup , "Emulating" , 64 , 10 , AlignCenter , AlignTop );
120
120
popup_set_text (app -> popup , str , 64 , 30 , AlignCenter , AlignTop );
@@ -211,6 +211,7 @@ void nfc_playlist_view_dispatcher_init(NfcPlaylist* app) {
211
211
FURI_LOG_D (TAG , "nfc_playlist_view_dispatcher_init allocating views" );
212
212
app -> menu = submenu_alloc ();
213
213
app -> popup = popup_alloc ();
214
+ app -> emulate_timeout = 2000 ;
214
215
215
216
// assign callback that pass events from views to the scene manager
216
217
FURI_LOG_D (TAG , "nfc_playlist_view_dispatcher_init setting callbacks" );
@@ -276,8 +277,6 @@ int32_t nfc_playlist_main(void* p) {
276
277
FURI_LOG_D (TAG , "Starting dispatcher..." );
277
278
view_dispatcher_run (app -> view_dispatcher );
278
279
279
- app -> emulate_timeout = 2000 ;
280
-
281
280
// free all memory
282
281
FURI_LOG_I (TAG , "Test app finishing..." );
283
282
furi_record_close (RECORD_GUI );
0 commit comments