diff --git a/app/src/main/java/com/nextcloud/talk/controllers/ChatController.java b/app/src/main/java/com/nextcloud/talk/controllers/ChatController.java index 3b132f768..7fcf8d30e 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/ChatController.java +++ b/app/src/main/java/com/nextcloud/talk/controllers/ChatController.java @@ -93,7 +93,7 @@ import retrofit2.Response; @AutoInjector(NextcloudTalkApplication.class) public class ChatController extends BaseController implements MessagesListAdapter.OnLoadMoreListener, - MessagesListAdapter.Formatter, MessagesListAdapter.SelectionListener { + MessagesListAdapter.Formatter { private static final String TAG = "ChatController"; @Inject @@ -174,7 +174,6 @@ public class ChatController extends BaseController implements MessagesListAdapte messagesList.setAdapter(adapter); adapter.setLoadMoreListener(this); adapter.setDateHeadersFormatter(this::format); - //adapter.enableSelectionMode(this); setupMentionAutocomplete(); @@ -511,9 +510,4 @@ public class ChatController extends BaseController implements MessagesListAdapte return callIntent; } - - @Override - public void onSelectionChanged(int count) { - //globalMenu.findItem(R.id.action_delete).setVisible(count > 0); - } }