Skip to content

Commit

Permalink
fix pm timeline error
Browse files Browse the repository at this point in the history
  • Loading branch information
kidozh committed Mar 24, 2021
1 parent 18120d7 commit bdb1b4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class PrivateMessageViewModel(application: Application) : AndroidViewModel(appli
if (totalPrivateMessages != null) {
mergedPrivateMessageListLiveData.addAll(totalPrivateMessages)
}
mergedPrivateMessageListLiveData.addAll(privateMessageResult.variables.pmList)
mergedPrivateMessageListLiveData.addAll(privateMessageResult.variables.pmList.reversed())

totalPrivateMessageListMutableLiveData.postValue(mergedPrivateMessageListLiveData)

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {

}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
classpath 'com.android.tools.build:gradle:4.1.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// firebase
// classpath 'com.google.gms:google-services:4.3.4'
Expand Down

0 comments on commit bdb1b4d

Please sign in to comment.