fun updateTrayVisibility(showTrayList: Boolean) { trayList.isVisible = showTrayList emptyList.isVisible = !showTrayList }
Helper function used to toggle the visibility of the tabs tray lists and the empty list message.