Commit cc43d598 authored by akwizgran's avatar akwizgran

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

Remove unnecessary snackbars in threaded conversation

Closes #1196

See merge request !1055
parents 50675473 7469c0f5
Pipeline #3093 passed with stage
in 9 minutes and 18 seconds
......@@ -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,
......
......@@ -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);
......
......@@ -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();
}
......@@ -211,7 +211,6 @@
<string name="groups_create_group_invitation_button">Send Invitation</string>
<string name="groups_create_group_hint">Choose a name for your private group</string>
<string name="groups_invitation_sent">Group invitation has been sent</string>
<string name="groups_message_sent">Message sent</string>
<string name="groups_member_list">Member List</string>
<string name="groups_invite_members">Invite Members</string>
<string name="groups_member_created_you">You created the group</string>
......@@ -265,7 +264,6 @@
<item quantity="one">%d post</item>
<item quantity="other">%d posts</item>
</plurals>
<string name="forum_new_entry_posted">Forum post published</string>
<string name="forum_new_message_hint">New Post</string>
<string name="forum_message_reply_hint">New Reply</string>
<string name="btn_reply">Reply</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment