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

Bug Fix: Prevent Currency input to display '0' when it is empty #2438

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

shubhamkmr04
Copy link
Contributor

@shubhamkmr04 shubhamkmr04 commented Sep 24, 2024

#2437

To fix this issue, we made the following changes:

  • We added a check that immediately stops the conversion process if the input field is cleared. This prevents the input from converting an empty value into 0.

  • When the input is cleared, we made sure all related converted values in the other currency fields are also cleared, instead of showing incorrect conversions.

@shubhamkmr04
Copy link
Contributor Author

Before:

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-09-24.at.22.25.18.mp4

After:

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-09-24.at.22.23.38.mp4

@kaloudis kaloudis added this to the v0.9.1 milestone Sep 25, 2024
Copy link
Contributor

@kaloudis kaloudis left a comment

Choose a reason for hiding this comment

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

tACK

@kaloudis kaloudis merged commit 73445d5 into ZeusLN:master Sep 25, 2024
3 checks passed
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