[android] remove unnecessary snackbars in threaded conversation

that appear after posting a new message there
This commit is contained in:
Torsten Grote
2019-02-28 14:28:37 -03:00
parent 144ea0c2fc
commit 7469c0f5e3
4 changed files with 0 additions and 18 deletions

View File

@@ -134,12 +134,6 @@ public class ForumActivity extends
return MAX_FORUM_POST_TEXT_LENGTH;
}
@Override
@StringRes
protected int getItemPostedString() {
return R.string.forum_new_entry_posted;
}
private void showUnsubscribeDialog() {
OnClickListener okListener = (dialog, which) -> deleteForum();
AlertDialog.Builder builder = new AlertDialog.Builder(this,

View File

@@ -191,12 +191,6 @@ public class GroupActivity extends
return MAX_GROUP_POST_TEXT_LENGTH;
}
@Override
@StringRes
protected int getItemPostedString() {
return R.string.groups_message_sent;
}
@Override
public void onReplyClick(GroupMessageItem item) {
if (!isDissolved) super.onReplyClick(item);

View File

@@ -401,7 +401,6 @@ public abstract class ThreadListActivity<G extends NamedGroup, I extends ThreadI
adapter.add(item);
if (isLocal) {
displaySnackbar(getItemPostedString());
scrollToItemAtTop(item);
} else {
updateUnreadCount();
@@ -418,7 +417,4 @@ public abstract class ThreadListActivity<G extends NamedGroup, I extends ThreadI
downButton.setUnreadCount(unreadCount.bottom);
}
@StringRes
protected abstract int getItemPostedString();
}