Ignore clicks on header

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2017-11-28 04:10:08 +01:00
parent 6ceb0c12da
commit 8dce2ccb9b

View file

@ -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);
}