mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
Merge pull request #3021 from nextcloud/bugfix/fixChatActivityInstance
fix multiple bugs caused by launchMode="singleInstance" and noHistory="true"
This commit is contained in:
commit
ab4ce8c4e4
@ -211,8 +211,6 @@
|
|||||||
|
|
||||||
<activity
|
<activity
|
||||||
android:name=".chat.ChatActivity"
|
android:name=".chat.ChatActivity"
|
||||||
android:launchMode="singleInstance"
|
|
||||||
android:noHistory="true"
|
|
||||||
android:screenOrientation="portrait"
|
android:screenOrientation="portrait"
|
||||||
android:theme="@style/AppTheme" />
|
android:theme="@style/AppTheme" />
|
||||||
|
|
||||||
|
@ -542,7 +542,9 @@ class ChatActivity :
|
|||||||
|
|
||||||
initVoiceRecordButton()
|
initVoiceRecordButton()
|
||||||
|
|
||||||
binding?.messageInputView?.inputEditText?.setText(sharedText)
|
if (sharedText.isNotEmpty()) {
|
||||||
|
binding?.messageInputView?.inputEditText?.setText(sharedText)
|
||||||
|
}
|
||||||
binding?.messageInputView?.setAttachmentsListener {
|
binding?.messageInputView?.setAttachmentsListener {
|
||||||
AttachmentDialog(this, this).show()
|
AttachmentDialog(this, this).show()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user