From 8dce2ccb9b01f8ffb4634f26f9ac72672f7b0fef Mon Sep 17 00:00:00 2001 From: Mario Danic Date: Tue, 28 Nov 2017 04:10:08 +0100 Subject: [PATCH] Ignore clicks on header Signed-off-by: Mario Danic --- .../java/com/nextcloud/talk/controllers/RoomMenuController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/nextcloud/talk/controllers/RoomMenuController.java b/app/src/main/java/com/nextcloud/talk/controllers/RoomMenuController.java index 58987b318..523896e4b 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/RoomMenuController.java +++ b/app/src/main/java/com/nextcloud/talk/controllers/RoomMenuController.java @@ -121,7 +121,7 @@ public class RoomMenuController extends BaseController implements FlexibleAdapte @Override public boolean onItemClick(int position) { - if (menuItems.size() > position) { + if (menuItems.size() > position && position != 0) { MenuItem menuItem = (MenuItem) menuItems.get(position); }