You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add null checks for PostModel in editPostOrPageForResult methods
Prevents crashes when PostModel is null (e.g., when mPostStore.getPostByLocalPostId
returns null for non-existent posts) by showing a user-friendly error message instead.
Changes:
- Add null check and error toast in both editPostOrPageForResult variants
- Prevents crashes from calling post.getId() or post.isPage() on null objects
0 commit comments