mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 03:09:04 +01:00
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:
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user