Those two things are not in conflict with each other: a sizable percentage of Trump voters may have been counting on the fact that they could secretly vote in order to protect themselves and even their jobs.
It seems that, today, some vocal people arguing for censorship immediately assume that anyone on the side of free speech and liberal thought is secretly a Trump apologist.