3532: Show badge on conversations tab on new conversations (#3890)
Fixes #3532 (Old PR, now closed: https://github.com/tuskyapp/Tusky/pull/3533) Listens on new notifications and if a "direct mention" is detected a badge (red dot) is shown on the conversations tab if present. I am missing things like this a lot and also big accounts are unhappy with the usability so far: https://mastodon.social/@pallenberg/110129889996182814
This commit is contained in:
parent
ff1c4a4b27
commit
b286255630
9 changed files with 1109 additions and 4 deletions
|
|
@ -2,6 +2,7 @@ package com.keylesspalace.tusky.appstore
|
|||
|
||||
import com.keylesspalace.tusky.TabData
|
||||
import com.keylesspalace.tusky.entity.Account
|
||||
import com.keylesspalace.tusky.entity.Notification
|
||||
import com.keylesspalace.tusky.entity.Poll
|
||||
import com.keylesspalace.tusky.entity.Status
|
||||
|
||||
|
|
@ -20,3 +21,6 @@ data class PollVoteEvent(val statusId: String, val poll: Poll) : Event
|
|||
data class DomainMuteEvent(val instance: String) : Event
|
||||
data class AnnouncementReadEvent(val announcementId: String) : Event
|
||||
data class FilterUpdatedEvent(val filterContext: List<String>) : Event
|
||||
data class NewNotificationsEvent(val accountId: String, val notifications: List<Notification>) : Event
|
||||
data class ConversationsLoadingEvent(val accountId: String) : Event
|
||||
data class NotificationsLoadingEvent(val accountId: String) : Event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue