mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Close compose screen after sending message
This commit is contained in:
@@ -59,6 +59,7 @@ public class ComposeFragment extends QKFragment implements ActivityLauncher, Rec
|
||||
public void onSend(String[] recipients, String body) {
|
||||
long threadId = Utils.getOrCreateThreadId(mContext, recipients[0]);
|
||||
if (threadId != 0) {
|
||||
mContext.finish();
|
||||
MessageListActivity.launch(mContext, threadId, -1, null, true);
|
||||
} else {
|
||||
mContext.onBackPressed();
|
||||
|
||||
Reference in New Issue
Block a user