react-native-platform-components 0.8.5 → 0.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ios/PCLiquidGlass.mm
CHANGED
|
@@ -29,7 +29,8 @@ using namespace facebook::react;
|
|
|
29
29
|
- (instancetype)initWithFrame:(CGRect)frame {
|
|
30
30
|
if (self = [super initWithFrame:frame]) {
|
|
31
31
|
_view = [[PCLiquidGlassView alloc] initWithEffect:nil];
|
|
32
|
-
|
|
32
|
+
_view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
|
|
33
|
+
[self addSubview:_view];
|
|
33
34
|
|
|
34
35
|
// Set up press callback
|
|
35
36
|
__weak __typeof(self) weakSelf = self;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-platform-components",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.6",
|
|
4
4
|
"description": "Native UI components for React Native: DatePicker, ContextMenu, SelectionMenu, SegmentedControl, LiquidGlass.",
|
|
5
5
|
"main": "./lib/commonjs/index.js",
|
|
6
6
|
"module": "./lib/module/index.js",
|