We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a791d94 commit 6d8c63cCopy full SHA for 6d8c63c
1 file changed
common/cpp/react/renderer/components/rnscreens/RNSFormSheetComponentDescriptor.h
@@ -29,10 +29,8 @@ class RNSFormSheetComponentDescriptor final
29
30
auto stateData = state->getData();
31
32
- if (stateData.frameSize.width >= 0 && stateData.frameSize.height >= 0) {
33
- layoutableShadowNode.setSize(
34
- Size{stateData.frameSize.width, stateData.frameSize.height});
35
- }
+ layoutableShadowNode.setSize(
+ Size{stateData.frameSize.width, stateData.frameSize.height});
36
37
ConcreteComponentDescriptor::adopt(shadowNode);
38
}
0 commit comments