这是indexloc提供的服务,不要输入任何密码
Skip to content

fix: hide deleted notes #108

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

Merged
merged 1 commit into from
Apr 25, 2024
Merged

fix: hide deleted notes #108

merged 1 commit into from
Apr 25, 2024

Conversation

poppingmoon
Copy link
Owner

Changed the type of state of NotesNotifier to Map<String, Note?>.
When receiving deleted events, set values responsible for the ids of deleted notes to null.
If notes are deleted, show blank widgets instead of errors.

Changed the type of state of `NotesNotifier` to `Map<String, Note?>`.
When receiving `deleted` events, set values responsible for the ids of
deleted notes to `null`.
If notes are deleted, show blank widgets instead of errors.
@poppingmoon poppingmoon merged commit 667364d into main Apr 25, 2024
@poppingmoon poppingmoon deleted the deleted-note branch April 25, 2024 08:26
@poppingmoon poppingmoon mentioned this pull request Apr 29, 2024
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