Skip to content

Commit

Permalink
fix regression from Background example test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Kudo committed Feb 25, 2023
1 parent a6faaaf commit f388600
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1569,6 +1569,9 @@ public void setAllowsProtectedMedia(boolean enabled) {
public static class RNCWebViewWrapper extends FrameLayout {
RNCWebViewWrapper(Context context, RNCWebView webView) {
super(context);
// We make the WebView as transparent on top of the container,
// and let React Native sets background color for the container.
webView.setBackgroundColor(Color.TRANSPARENT);
addView(webView);
}

Expand Down

0 comments on commit f388600

Please sign in to comment.