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/Crash fixes #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

OsamaSaberB
Copy link

Hello there Angela, I came here from your iOS development course, thanks for your great work.

I noticed that the app could crash in multiple cases and have a few bugs so here are the things I changed.

  • display label now shows Int characters properly instead of doubles with trailing zeros (i.e 1 instead of 1.0)
  • adjusted the AC button to do the same and display “0” int instead of “0.0” when clearing screen
  • adjusted the decimal/period button to start with 0. instead of displaying “.” as the first character when no number was entered
  • prevented the addition of multiple decimals in a number which leads to crashing the app

Osama Saber and others added 3 commits June 16, 2022 05:20
- display label now shows Int characters properly instead of doubles with trailing zeros (i.e 1 instead of 1.0)
- adjusted the AC button to do the same and displaying “0” int instead of “0.0” when clearing screen
- adjusted the decimal/period button to start with 0. instead of displaying “.” as the first character when no number was entered
- prevented the addition of multiple decimal in a number which leads to crashing the app
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.

1 participant