mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-23 18:30:20 +01:00
Fix external shares in CFV2.
This commit is contained in:
committed by
Greyson Parrelli
parent
919531a82b
commit
dfb7304626
@@ -196,7 +196,10 @@ public class ComposeText extends EmojiEditText {
|
||||
|
||||
public void setDraftText(@Nullable CharSequence draftText) {
|
||||
setText("");
|
||||
append(draftText);
|
||||
|
||||
if (draftText != null) {
|
||||
append(draftText);
|
||||
}
|
||||
}
|
||||
|
||||
public void appendInvite(String invite) {
|
||||
|
||||
@@ -421,7 +421,13 @@ public class ConversationIntents {
|
||||
intent.setType(dataType);
|
||||
}
|
||||
|
||||
return intent;
|
||||
if (SignalStore.internalValues().useConversationFragmentV2()) {
|
||||
Bundle args = ConversationIntents.createParentFragmentArguments(intent);
|
||||
|
||||
return intent.putExtras(args);
|
||||
} else {
|
||||
return intent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user