Skip to content

Commit

Permalink
[android][masked-view] Upgrade @react-native-masked-view/masked-view …
Browse files Browse the repository at this point in the history
…to 0.2.8 (#19645)
  • Loading branch information
gabrieldonadel committed Oct 21, 2022
1 parent e5f0011 commit d4213a7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,7 @@ Package-specific changes not released in any SDK will be added here just before

### 📚 3rd party library updates

- Updated `@react-native-masked-view/masked-view` from `0.2.6` to `0.2.8`. ([#19645](https://github.com/expo/expo/pull/19645) by [@gabrieldonadel](https://github.com/gabrieldonadel))
- Updated `react-native-webview` from `11.13.0` to `11.15.0`. ([#15330](https://github.com/expo/expo/pull/15330) by [@tsapeta](https://github.com/tsapeta))
- Updated `react-native-shared-element` from `0.8.2` to `0.8.3`. ([#15338](https://github.com/expo/expo/pull/15338) by [@kudo](https://github.com/kudo))
- Updated `lottie-react-native` from `4.0.3` to `5.0.1`. ([#15345](https://github.com/expo/expo/pull/15345) by [@kudo](https://github.com/kudo))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,14 @@ protected void onAttachedToWindow() {
}

private void updateBitmapMask() {
if (this.mBitmapMask != null) {
this.mBitmapMask.recycle();
}

View maskView = getChildAt(0);
if (maskView != null) {
maskView.setVisibility(View.VISIBLE);
if (this.mBitmapMask != null) {
this.mBitmapMask.recycle();
}
this.mBitmapMask = getBitmapFromView(maskView);
maskView.setVisibility(View.INVISIBLE);
} else{
this.mBitmapMask = null;
}
}

Expand Down
2 changes: 1 addition & 1 deletion apps/bare-expo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"@react-native-community/netinfo": "9.3.3",
"@react-native-community/slider": "4.2.4",
"@react-native-community/viewpager": "5.0.11",
"@react-native-masked-view/masked-view": "0.2.6",
"@react-native-masked-view/masked-view": "0.2.8",
"@react-native-picker/picker": "2.4.6",
"@react-native-segmented-control/segmented-control": "2.4.0",
"expo": "~47.0.0-alpha.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/native-component-list/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@react-native-community/datetimepicker": "6.5.2",
"@react-native-community/netinfo": "9.3.3",
"@react-native-community/slider": "4.2.4",
"@react-native-masked-view/masked-view": "0.2.6",
"@react-native-masked-view/masked-view": "0.2.8",
"@react-native-picker/picker": "2.4.6",
"@react-native-segmented-control/segmented-control": "2.4.0",
"@react-navigation/bottom-tabs": "~6.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/expo/bundledNativeModules.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"@expo/vector-icons": "^13.0.0",
"@react-native-async-storage/async-storage": "~1.17.3",
"@react-native-community/datetimepicker": "6.5.2",
"@react-native-masked-view/masked-view": "0.2.7",
"@react-native-masked-view/masked-view": "0.2.8",
"@react-native-community/netinfo": "9.3.3",
"@react-native-community/slider": "4.2.4",
"@react-native-community/viewpager": "5.0.11",
Expand Down

0 comments on commit d4213a7

Please sign in to comment.