Skip to content

Commit

Permalink
Fixes #79
Browse files Browse the repository at this point in the history
  • Loading branch information
chrfalch committed Jan 4, 2022
1 parent b3aa302 commit 21819ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/cpp/api/JsiSkRect.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class JsiSkRect : public JsiSkWrappingSharedPtrHostObject<SkRect> {
const jsi::Value &obj) {
const auto object = obj.asObject(runtime);
if (object.isHostObject(runtime)) {
return obj.asObject(runtime)
return object
.asHostObject<JsiSkRect>(runtime)
.get()
->getObject();
Expand Down

0 comments on commit 21819ed

Please sign in to comment.