mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
parent
1e2ae2c8b0
commit
fbbcb92ec8
@ -39,8 +39,8 @@ android {
|
||||
targetSdkVersion 29
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
||||
versionCode 125
|
||||
versionName "8.0.0beta3"
|
||||
versionCode 126
|
||||
versionName "8.0.0beta4"
|
||||
|
||||
flavorDimensions "default"
|
||||
renderscriptTargetApi 19
|
||||
|
@ -1 +0,0 @@
|
||||
[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":116,"versionName":"8.0.0beta1","enabled":true,"outputFile":"app-gplay-release.apk","fullName":"gplayRelease","baseName":"gplay-release"},"path":"app-gplay-release.apk","properties":{}}]
|
@ -558,19 +558,21 @@ class ChatController(args: Bundle) : BaseController(args), MessagesListAdapter
|
||||
|
||||
private fun setupMentionAutocomplete() {
|
||||
val elevation = 6f
|
||||
val backgroundDrawable = ColorDrawable(resources!!.getColor(R.color.bg_default))
|
||||
val presenter = MentionAutocompletePresenter(applicationContext, roomToken)
|
||||
val callback = MentionAutocompleteCallback(activity,
|
||||
conversationUser, messageInput)
|
||||
resources?.let {
|
||||
val backgroundDrawable = ColorDrawable(it.getColor(R.color.bg_default))
|
||||
val presenter = MentionAutocompletePresenter(applicationContext, roomToken)
|
||||
val callback = MentionAutocompleteCallback(activity,
|
||||
conversationUser, messageInput)
|
||||
|
||||
if (mentionAutocomplete == null && messageInput != null) {
|
||||
mentionAutocomplete = Autocomplete.on<Mention>(messageInput)
|
||||
.with(elevation)
|
||||
.with(backgroundDrawable)
|
||||
.with(MagicCharPolicy('@'))
|
||||
.with(presenter)
|
||||
.with(callback)
|
||||
.build()
|
||||
if (mentionAutocomplete == null && messageInput != null) {
|
||||
mentionAutocomplete = Autocomplete.on<Mention>(messageInput)
|
||||
.with(elevation)
|
||||
.with(backgroundDrawable)
|
||||
.with(MagicCharPolicy('@'))
|
||||
.with(presenter)
|
||||
.with(callback)
|
||||
.build()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user