Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/docs/follow-redirect…
Browse files Browse the repository at this point in the history
…s-1.14.7
  • Loading branch information
chrfalch authored Jan 17, 2022
2 parents f272ed5 + c8c4ab5 commit 3240c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/cpp/api/JsiSkFontMgr.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace RNSkia {
return jsi::Value::null();
}
return jsi::Object::createFromHostObject(
runtime, std::make_shared<JsiSkTypeface>(getContext(), sk_sp(typeface)));;
runtime, std::make_shared<JsiSkTypeface>(getContext(), sk_sp<SkTypeface>(typeface)));;
}

JSI_EXPORT_FUNCTIONS(
Expand Down

0 comments on commit 3240c18

Please sign in to comment.