Merge branch '1196-remove-thread-sent-snackbars' into 'master'

Remove unnecessary snackbars in threaded conversation

Closes #1196

See merge request briar/briar!1055
This commit is contained in:
akwizgran
2019-03-08 14:23:19 +00:00
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();
}