static double adaptFontSize(double value) { if (isMobile()) { try { return value.sp; } catch (_) { return value; } } else { return value; } }