diff options
Diffstat (limited to 'app/src/main/java/net/lacolaco/smileessence/view/dialog/SendMessageDialogFragment.java')
-rw-r--r-- | app/src/main/java/net/lacolaco/smileessence/view/dialog/SendMessageDialogFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/net/lacolaco/smileessence/view/dialog/SendMessageDialogFragment.java b/app/src/main/java/net/lacolaco/smileessence/view/dialog/SendMessageDialogFragment.java index 8c2d4b01..57d978a0 100644 --- a/app/src/main/java/net/lacolaco/smileessence/view/dialog/SendMessageDialogFragment.java +++ b/app/src/main/java/net/lacolaco/smileessence/view/dialog/SendMessageDialogFragment.java @@ -153,7 +153,7 @@ public class SendMessageDialogFragment extends StackableDialogFragment implement private void sendMessage() { hideIME(); String text = editText.getText().toString(); - new SendMessageTask(Application.getCurrentAccount(), screenName, text) + new SendMessageTask(Application.getInstance().getCurrentAccount(), screenName, text) .onDone(x -> Notificator.getInstance().publish(R.string.notice_message_send_succeeded)) .onFail(x -> Notificator.getInstance().publish(R.string.notice_message_send_failed, NotificationType.ALERT)) .execute(); |