-
Notifications
You must be signed in to change notification settings - Fork 285
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 widget note or note list leakage when pin lock is enabled #1636
Fix widget note or note list leakage when pin lock is enabled #1636
Conversation
Hey there @jimlearning, Thank you for your contribution! I'm afraid this feature would break current workflows, for people who use pinlock code, and keep groceries in their springboards (such as myself!). |
Thank you for your reply. I've added a switch that lets the user decide if the widgets should be locked as well. Not locked by default. |
…om/jimlearning/simplenote-ios into issue/1445-pin-lock-widget-leakage # Conflicts: # Simplenote/en.lproj/Localizable.strings
@jimlearning Thank you so much for your contribution and for taking the time to propose this feature! The team has carefully reviewed the PR, and while we really appreciate the thought and effort you put into it, we’ve decided not to merge it at this time. |
Adding a bit of context: We believe that this concrete issue should be addressed via a change in the way the Notes Widget works. Everytime a new Note is selected, whenever the app has a pincode set, the Widget itself should display a 'Locked' placeholder, directing the user to launch the app, to Unlock Access to such note. This is a much simpler approach, doesn't involve 'Setting discoverability' issues, and would preserve current flows. |
Thanks. I'm glad to hear the team is considering this issue, and can't wait to see the new feature rolled out! |
Fix
It's possible to see all your notes from widgets even though pin lock(password) is active.
In this PR I have added pinLockIsEnabled state to check all notes or note list in widgets, just like the way when logged out. When pinLockIsEnabled is true, the note or note list is hidden, otherwise it is displayed.
fixes #1445
Test
Review
(Required) Add instructions for reviewers. For example:
Release
(Required) Add a concise statement to
RELEASE-NOTES.txt
if the changes should be included in release notes. Include details about updating the notes in this section. For example: