Hi,
is there any way to get a font from Font. ...
that resizes with the users dynamic font size from the settings app? I noticed that there are functions like Font.body()
which might resize but there is no way of getting the font size from them.
I can’t use any of these functions because I want to use a bold font and I don’t know if the returned font is for sure bold.
I’ve also tried it with the WebView:
const wv = new WebView();
await wv.loadHTML(`<body style="font: -apple-system">Hi :)</body>`);
const size = await wv.evaluateJavaScript(`getComputedStyle(document.body).fontSize;`);
log(size);
It logs 16px
every time regardless of my dynamic font size setting.