Browse Source

breaks dammit

pull/61/merge
Thodoris1999 6 years ago
parent
commit
c06ade5569
  1. 2
      app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicActivity.java

2
app/src/main/java/gr/thmmy/mthmmy/activities/topic/TopicActivity.java

@ -542,6 +542,7 @@ public class TopicActivity extends BaseActivity implements TopicAdapter.OnPostFo
} else {
viewModel.reloadPage();
}
break;
case NEW_REPLY_WHILE_POSTING:
Timber.i("New reply while writing a reply");
TopicAdapter.QuickReplyViewHolder replyHolder = (TopicAdapter.QuickReplyViewHolder)
@ -567,6 +568,7 @@ public class TopicActivity extends BaseActivity implements TopicAdapter.OnPostFo
.show();
};
viewModel.reloadPageThen(addReply);
break;
default:
Timber.w("Post reply unsuccessful");
Toast.makeText(getBaseContext(), "Post failed!", Toast.LENGTH_SHORT).show();

Loading…
Cancel
Save