فهرست منبع

Merge totp from https://github.com/akopachov/flipper-zero_authenticator

Willy-JL 9 ماه پیش
والد
کامیت
482a965ab8
5فایلهای تغییر یافته به همراه9 افزوده شده و 4 حذف شده
  1. 1 1
      totp/.gitsubtree
  2. 4 0
      totp/.ofwcatalog/CHANGELOG.md
  3. 1 1
      totp/application.fam
  4. 2 1
      totp/ui/scenes/generate_token/totp_scene_generate_token.c
  5. 1 1
      totp/version.h

+ 1 - 1
totp/.gitsubtree

@@ -1,2 +1,2 @@
 https://github.com/xMasterX/all-the-plugins dev base_pack/totp 078e2ad4999a414d5211d039bc9bc067ea47e5c2
-https://github.com/akopachov/flipper-zero_authenticator master totp a8f53e4cecf8f24d68c7e86bc866b9bc35a61b85
+https://github.com/akopachov/flipper-zero_authenticator master totp bc9acd9fd860bcffeaea5641b3f6a4d04e342bae

+ 4 - 0
totp/.ofwcatalog/CHANGELOG.md

@@ -1,5 +1,9 @@
 # Changelog
 
+## v5.17.1 - 26 Mar 2025
+
+* fix: HOTP counter is not increasing when "OK" button long-pressed ([#253](https://github.com/akopachov/flipper-zero_authenticator/issues/253))
+
 ## v5.17.0 - 27 Feb 2025
 
 * feat: Extended valid UTC offset range to be from -12 to +14 ([#249](https://github.com/akopachov/flipper-zero_authenticator/issues/249))

+ 1 - 1
totp/application.fam

@@ -7,7 +7,7 @@ App(
     requires=["gui", "cli", "dialogs", "storage", "input", "notification", "bt"],
     stack_size=2 * 1024,
     order=20,
-    fap_version="5.170",
+    fap_version="5.171",
     fap_author="Alexander Kopachov (@akopachov)",
     fap_description="Software-based TOTP/HOTP authenticator for Flipper Zero device",
     fap_weburl="https://github.com/akopachov/flipper-zero_authenticator",

+ 2 - 1
totp/ui/scenes/generate_token/totp_scene_generate_token.c

@@ -429,13 +429,14 @@ bool totp_scene_generate_token_handle_event(
             break;
         }
         case InputKeyOk:
-            totp_scene_director_activate_scene(plugin_state, TotpSceneTokenMenu);
             break;
         case InputKeyBack:
             break;
         default:
             break;
         }
+    } else if(event->input.type == InputTypeShort && event->input.key == InputKeyOk) {
+        totp_scene_director_activate_scene(plugin_state, TotpSceneTokenMenu);
     }
 
     return true;

+ 1 - 1
totp/version.h

@@ -2,4 +2,4 @@
 
 #define TOTP_APP_VERSION_MAJOR (5)
 #define TOTP_APP_VERSION_MINOR (17)
-#define TOTP_APP_VERSION_PATCH (0)
+#define TOTP_APP_VERSION_PATCH (1)