isQueuedCommandVisible method

bool isQueuedCommandVisible(
  1. QueuedCommand cmd
)

Whether this queued command should render in the queue preview.

Implementation

bool isQueuedCommandVisible(QueuedCommand cmd) {
  if (cmd.origin?.kind == 'channel') return true;
  return isQueuedCommandEditable(cmd);
}