feat: subscriptions in notifications
This commit is contained in:
parent
6c1176a182
commit
df2867c7db
9 changed files with 105 additions and 19 deletions
|
@ -4,6 +4,7 @@ import android.graphics.Color
|
|||
import ani.dantotsu.connections.comments.AuthResponse
|
||||
import ani.dantotsu.connections.mal.MAL
|
||||
import ani.dantotsu.notifications.comment.CommentStore
|
||||
import ani.dantotsu.notifications.subscription.SubscriptionStore
|
||||
import ani.dantotsu.settings.saving.internal.Location
|
||||
import ani.dantotsu.settings.saving.internal.Pref
|
||||
|
||||
|
@ -185,6 +186,7 @@ enum class PrefName(val data: Pref) { //TODO: Split this into multiple files
|
|||
LogToFile(Pref(Location.Irrelevant, Boolean::class, false)),
|
||||
RecentGlobalNotification(Pref(Location.Irrelevant, Int::class, 0)),
|
||||
CommentNotificationStore(Pref(Location.Irrelevant, List::class, listOf<CommentStore>())),
|
||||
SubscriptionNotificationStore(Pref(Location.Irrelevant, List::class, listOf<SubscriptionStore>())),
|
||||
UnreadCommentNotifications(Pref(Location.Irrelevant, Int::class, 0)),
|
||||
DownloadsDir(Pref(Location.Irrelevant, String::class, "")),
|
||||
RefreshStatus(Pref(Location.Irrelevant, Boolean::class, false)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue