refactor: use detectPlatform
#28945
Merged
refactor: use detectPlatform
#28945
Loading