Skip to content

Commit

Permalink
fix message notification not being shown
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoniecz committed Dec 31, 2024
1 parent 6fddce3 commit 1a97dfc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class UserDataController(private val prefs: Preferences) : UserDataSource {
fun setDetails(userDetails: UserInfo) {
prefs.userId = userDetails.id
prefs.userName = userDetails.displayName
userDetails.unreadMessagesCount?.let { prefs.userUnreadMessages }
userDetails.unreadMessagesCount?.let { prefs.userUnreadMessages = it }
listeners.forEach { it.onUpdated() }
}

Expand Down

0 comments on commit 1a97dfc

Please sign in to comment.