Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ui issues #29

Merged
merged 6 commits into from
Oct 14, 2024
Merged

Fix ui issues #29

merged 6 commits into from
Oct 14, 2024

Conversation

chcmedeiros
Copy link
Contributor

No description provided.

app/src/crypto_helper.c Fixed Show fixed Hide fixed
app/src/parser.c Outdated
return parser_ok;
default:
break;
}

return parser_display_idx_out_of_range;
return parser_ok;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we return ok if we get here? Shouldn't it be an error?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it should! I will fix it!

Copy link
Member

@emmanuelm41 emmanuelm41 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another comment

.hash(&key_input)
.as_bytes()
.try_into()
.expect("has has incorrect length")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo here. Besides, this will panic. Shouldn't we handle the error differently?

@chcmedeiros chcmedeiros merged commit ccff777 into dev Oct 14, 2024
52 checks passed
@chcmedeiros chcmedeiros deleted the fix/ui branch October 14, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants