Add isMobile/isDesktop conditions