Browse Source

close #1385

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
parent
commit
4a72d64a6d
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 2
      app/src/main/java/awais/instagrabber/managers/InboxManager.kt

2
app/src/main/java/awais/instagrabber/managers/InboxManager.kt

@ -117,7 +117,7 @@ class InboxManager private constructor(private val pending: Boolean) {
val threads = it.threads
val threadsCopy = if (threads == null) LinkedList() else LinkedList(threads)
threadsCopy.addAll(inbox.threads ?: emptyList())
inbox.threads = threads
inbox.threads = threadsCopy
}
}
this.inbox.postValue(success(inbox))

Loading…
Cancel
Save