Skip to content

Subscribing to AfterShowEvent for updating message count prevents default screen from opening automatically #21

@saijun97

Description

@saijun97
@Subscribe
protected void onAfterShow(AfterShowEvent event) {
    userInboxMessageMenuBadge.updateMessageCounter(sideMenu);
}

Subscribing to AfterInitEvent instead seems to resolve the issue.

@Subscribe
public void onAfterInit(AfterInitEvent event) {
    userInboxMessageMenuBadge.updateMessageCounter(sideMenu);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions