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
|
targetSdkVersion 29
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
|
||||||
versionCode 125
|
versionCode 126
|
||||||
versionName "8.0.0beta3"
|
versionName "8.0.0beta4"
|
||||||
|
|
||||||
flavorDimensions "default"
|
flavorDimensions "default"
|
||||||
renderscriptTargetApi 19
|
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() {
|
private fun setupMentionAutocomplete() {
|
||||||
val elevation = 6f
|
val elevation = 6f
|
||||||
val backgroundDrawable = ColorDrawable(resources!!.getColor(R.color.bg_default))
|
resources?.let {
|
||||||
val presenter = MentionAutocompletePresenter(applicationContext, roomToken)
|
val backgroundDrawable = ColorDrawable(it.getColor(R.color.bg_default))
|
||||||
val callback = MentionAutocompleteCallback(activity,
|
val presenter = MentionAutocompletePresenter(applicationContext, roomToken)
|
||||||
conversationUser, messageInput)
|
val callback = MentionAutocompleteCallback(activity,
|
||||||
|
conversationUser, messageInput)
|
||||||
|
|
||||||
if (mentionAutocomplete == null && messageInput != null) {
|
if (mentionAutocomplete == null && messageInput != null) {
|
||||||
mentionAutocomplete = Autocomplete.on<Mention>(messageInput)
|
mentionAutocomplete = Autocomplete.on<Mention>(messageInput)
|
||||||
.with(elevation)
|
.with(elevation)
|
||||||
.with(backgroundDrawable)
|
.with(backgroundDrawable)
|
||||||
.with(MagicCharPolicy('@'))
|
.with(MagicCharPolicy('@'))
|
||||||
.with(presenter)
|
.with(presenter)
|
||||||
.with(callback)
|
.with(callback)
|
||||||
.build()
|
.build()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user