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

Solving the single quote bug for both labels and note + selected label in the spinner #165

Merged
merged 5 commits into from Oct 5, 2022

Conversation

subeep
Copy link
Contributor

@subeep subeep commented Oct 5, 2022

The bug that is solved in this is mentioned in #66.
This bug was instigated whenever there was a single quote ( ' ) present in the label or a note.
This was because SQLite considers a single quote as an endpoint for a string and that was the reason for it.
And I used continuous single quotes ('') replacing single quotes while adding and displaying which prevents it from crashing now because SQL exempts continuous single quotes.
It was done in all the page adapters.

I also upgraded the feature of the selected spinner of a habit which wasn't done before and it would select the first label rather than the label that is actually selected in the database.

@subeep
Copy link
Contributor Author

subeep commented Oct 5, 2022

@CrazyMarvin Done.

@CrazyMarvin
Copy link
Contributor

Thank you very much! 👍

@CrazyMarvin CrazyMarvin merged commit 2aa70f4 into Crazy-Marvin:development Oct 5, 2022
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.

None yet

2 participants