Fixes #15835 Evaluate if we have notification on app start (when chats are loaded) so that the notification icon can be shown if we open the app **not** in the chat (eg in the wallet)
This commit is contained in:
parent
0c4b7e92a0
commit
e94fb9c6f6
|
@ -129,6 +129,8 @@ type
|
|||
method calculateProfileSectionHasNotification*[T](self: Module[T]): bool
|
||||
proc switchToContactOrDisplayUserProfile[T](self: Module[T], publicKey: string)
|
||||
method activateStatusDeepLink*[T](self: Module[T], statusDeepLink: string)
|
||||
proc checkIfWeHaveNotifications[T](self: Module[T])
|
||||
|
||||
|
||||
proc newModule*[T](
|
||||
delegate: T,
|
||||
|
@ -746,6 +748,8 @@ method onChatsLoaded*[T](
|
|||
if self.statusDeepLinkToActivate != "":
|
||||
self.activateStatusDeepLink(self.statusDeepLinkToActivate)
|
||||
|
||||
self.checkIfWeHaveNotifications()
|
||||
|
||||
method onCommunityDataLoaded*[T](
|
||||
self: Module[T],
|
||||
events: EventEmitter,
|
||||
|
|
Loading…
Reference in New Issue