publish: Fix mobile check

generated from commit c6948342d97e5b45914b01833fd013f6f50d4171