mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
mailto links with a body but no subject #937
This commit is contained in:
@@ -106,7 +106,11 @@ public class NewConversationActivity extends ContactSelectionActivity {
|
||||
String textToShare = mailtoQueryMap.get(SUBJECT);
|
||||
String body = mailtoQueryMap.get(BODY);
|
||||
if (body != null && !body.isEmpty()) {
|
||||
textToShare += "\n" + body;
|
||||
if (textToShare != null && !textToShare.isEmpty()) {
|
||||
textToShare += "\n" + body;
|
||||
} else {
|
||||
textToShare = body;
|
||||
}
|
||||
}
|
||||
return textToShare;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user