Fix notifications crash

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2019-09-27 13:52:31 +02:00
parent 5334a0fd15
commit b95bb003df
2 changed files with 7 additions and 3 deletions

View File

@ -38,8 +38,8 @@ android {
targetSdkVersion 28
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
versionCode 115
versionName "7.0.1"
versionCode 116
versionName "7.0.2"
flavorDimensions "default"
renderscriptTargetApi 19

View File

@ -616,7 +616,11 @@ class ChatController(args: Bundle) : BaseController(args), MessagesListAdapter
}
override fun getTitle(): String? {
if (currentConversation != null) {
return EmojiCompat.get().process(currentConversation!!.displayName).toString()
} else {
return ""
}
}
public override fun onDestroy() {