Commit c2da7f8
committed
fix(content_management): preserve snackbar data across state changes
- Update DraftTopicsState.copyWith to maintain lastPendingDeletionId and snackbarTopicTitle when they are null
- This prevents loss of snackbar data when updating other state properties1 parent 56870d5 commit c2da7f8
File tree
1 file changed
+3
-2
lines changed- lib/content_management/bloc/draft_topics
1 file changed
+3
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
0 commit comments