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
  • Loading branch information
gabrieldonadel committed Oct 20, 2022
1 parent 4651a35 commit 16bc955
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
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.0",
"@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.0",
"@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 16bc955

Please sign in to comment.