mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-22 15:33:57 +00:00
feat: crash report | various small fixes
This commit is contained in:
@@ -30,7 +30,7 @@ class CommentNotificationTask : Task {
|
||||
withContext(Dispatchers.IO) {
|
||||
PrefManager.init(context) //make sure prefs are initialized
|
||||
val client = OkHttpClient()
|
||||
CommentsAPI.fetchAuthToken(client)
|
||||
CommentsAPI.fetchAuthToken(context, client)
|
||||
val notificationResponse = CommentsAPI.getNotifications(client)
|
||||
var notifications = notificationResponse?.notifications?.toMutableList()
|
||||
//if we have at least one reply notification, we need to fetch the media titles
|
||||
|
||||
Reference in New Issue
Block a user