Conversation
…is trashed or spammed. Fixes #2816
|
I have to admit, I'm not wild about this solution because I'd really like to keep fragment logic out of WPMainActivity when possible. Of course, sometimes it just isn't possible, but I think it can be done in this situation. This might be a good case for using a sticky event. Unlike other EventBus events, a sticky event can be received long after it has been posted. So you could post a |
|
Yeah I didn't like that either. A Sticky Event sounds perfect, thanks for the tip! |
|
@nbradbury the sticky event appears to have worked well! Added in e1605d0 |
|
Looks good! |
…ns-moderation-list Fixes comment notification from not disappearing from notes list on Spam/Trash
I wish this was a more elegant solution, maybe the reviewer might have a better idea :)
The NotificationsListFragment needed to check that a noteId had been hidden when it resumed, so I ended up adding a String var to
WPMainActivitywhich I wasn't too happy with.Fixes #2816