Просмотр исходного кода

they can speed through the entries

zinongli 11 месяцев назад
Родитель
Сommit
c07eb260d2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scenes/plugins/suica.c

+ 1 - 1
scenes/plugins/suica.c

@@ -394,7 +394,7 @@ static NfcCommand suica_poller_callback(NfcGenericEvent event, void* context) {
 
 static bool suica_history_input_callback(InputEvent* event, void* context) {
     Metroflip* app = (Metroflip*)context;
-    if(event->type == InputTypeShort) {
+    if(event->type == InputTypeShort || event->type == InputTypeRepeat) {
         switch(event->key) {
         case InputKeyLeft: {
             bool redraw = true;