ui: login process (without error processing)

This commit is contained in:
2025-12-17 15:12:41 +02:00
parent b5d638bbc9
commit 1e2e180be4
8 changed files with 53 additions and 24 deletions
+2 -2
View File
@@ -25,11 +25,11 @@ void server_message_modal_cb(callback_args_t *args) {
switch (response) {
case 0:
destroy_dialogue(d);
// TODO: macros
/* TODO: macros */
free(app->query_args->server_message.text);
app->query_args->server_message.capacity = 0;
app->query_args->server_message.size = 0;
app->query_args->state = S_ASK_LOGIN_USER;
app->query_args->state = S_NEXT_ACTION;
break;
}
}