feat: crash report | various small fixes
This commit is contained in:
parent
31c509f88c
commit
8a0224e6b0
12 changed files with 250 additions and 88 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue