mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 17:27:08 +08:00
1 parent
ffb92b9f2d
commit
92785cea4f
2 files changed
+3
-3
No files matched your search
@@ -213,7 +213,7 @@ class NativeHost {
|
||||
}
|
||||
|
||||
async fonts() {
|
||||
return (await this.call("fonts", {})).map(font => ({...font, nativeFile:new NativeFile(font.file)}));
|
||||
return (await this.call("fonts", {})).map(({file, ...font}) => ({...font, nativeFile:new NativeFile(file)}));
|
||||
}
|
||||
|
||||
async start(onFiles, onError) {
|
||||
|
||||
Reference in new issue
Block a user