瀏覽代碼

fix(styles): Removes hard-coded container white backgroundColor (#478)

Fixes #475

#472 added a `backgroundColor` of `white` to the `container` style which broke the ability to set a `transparent` background color on the `WebView` component. This simply removes that unnecessary style.
Max Schmeling 5 年之前
父節點
當前提交
5ec74ea9bb
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0
    1
      src/WebView.styles.ts

+ 0
- 1
src/WebView.styles.ts 查看文件

@@ -15,7 +15,6 @@ const styles = StyleSheet.create<Styles>({
15 15
   container: {
16 16
     flex: 1,
17 17
     overflow: 'hidden',
18
-    backgroundColor: 'white',
19 18
   },
20 19
   errorContainer: {
21 20
     flex: 1,