mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-02 20:53:09 +00: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
|
||||
android:name=".chat.ChatActivity"
|
||||
android:launchMode="singleInstance"
|
||||
android:noHistory="true"
|
||||
android:screenOrientation="portrait"
|
||||
android:theme="@style/AppTheme" />
|
||||
|
||||
|
@ -542,7 +542,9 @@ class ChatActivity :
|
||||
|
||||
initVoiceRecordButton()
|
||||
|
||||
binding?.messageInputView?.inputEditText?.setText(sharedText)
|
||||
if (sharedText.isNotEmpty()) {
|
||||
binding?.messageInputView?.inputEditText?.setText(sharedText)
|
||||
}
|
||||
binding?.messageInputView?.setAttachmentsListener {
|
||||
AttachmentDialog(this, this).show()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user