Trump is schizophrenic on China. His "anti-China" attitudes right now seem more of a function of a need for an external enemy to blame/distract from his domestic failures. His trade war with China occurred around the same time he initiated trade disputed with even allied nations. There are even indications that he is not bothered by, and perhaps even approves of, Chinese human rights violations (e.g. IIRC Bolton has said he expressed approval of the Xinjiang camps directly to Xi).
I believe some of his advisors are more opposed to current Chinese government actions, but Trump's shown a willingness to do foreign policy 180s against their advice before.