You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Update src/utils/FontManager.js
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
@@ -32,7 +32,7 @@ function safariVersionCheck(ua) {
|
|||||||
const colrFontSupported = macOSVersion[0] >= 10 && macOSVersion[1] >= 14 && safariVersion[0] >= 12;
|
const colrFontSupported = macOSVersion[0] >= 10 && macOSVersion[1] >= 14 && safariVersion[0] >= 12;
|
||||||
// https://www.colorfonts.wtf/ states safari supports COLR fonts from this version on
|
// https://www.colorfonts.wtf/ states safari supports COLR fonts from this version on
|
||||||
console.log(`Browser is Safari - requiring macOS 10.14 and Safari 12,` +
|
console.log(`Browser is Safari - requiring macOS 10.14 and Safari 12,` +
|
||||||
`detected Safari ${safariVersionStr} on macOS ${macOSVersionStr},` +
|
`detected Safari ${safariVersionStr} on macOS ${macOSVersionStr}, ` +
|
||||||
`COLR supported: ${colrFontSupported}`);
|
`COLR supported: ${colrFontSupported}`);
|
||||||
return colrFontSupported;
|
return colrFontSupported;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user