@@ -7,7 +7,7 @@ App(
requires=["gui", "cli", "dialogs", "storage", "input", "notification", "bt"],
stack_size=2 * 1024,
order=20,
- fap_version="5.140",
+ fap_version="5.141",
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",
@@ -26,7 +26,8 @@ bool totp_cli_ensure_authenticated(const PluginState* plugin_state, Cli* cli) {
return true;
}
-void totp_cli_force_close_app(FuriMessageQueue* event_queue) {
+void totp_cli_force_close_app(void* ctx) {
+ FuriMessageQueue* event_queue = ctx;
PluginEvent event = {.type = EventForceCloseApp};
furi_message_queue_put(event_queue, &event, FuriWaitForever);
@@ -20,7 +20,7 @@ bool totp_cli_ensure_authenticated(const PluginState* plugin_state, Cli* cli);
* @brief Forces application to be instantly closed
* @param event_queue main app queue
*/
-void totp_cli_force_close_app(FuriMessageQueue* event_queue);
+void totp_cli_force_close_app(void* ctx);
/**
* @brief Reads line of characters from console
@@ -41,7 +41,7 @@ static void print_uri_component(const char* data, size_t length) {
c == '-' || c == '_') {
putchar(c);
} else {
- printf("%%%x", c);
+ printf("%%%02x", c);
c_ptr++;
@@ -2,4 +2,4 @@
#define TOTP_APP_VERSION_MAJOR (5)
#define TOTP_APP_VERSION_MINOR (14)
-#define TOTP_APP_VERSION_PATCH (0)
+#define TOTP_APP_VERSION_PATCH (1)