浏览代码

ref(Notification.native): remove unnecessary View

The styles.actionColumn does not exist. It looks the same without the
extra View.
master
paweldomas 7 年前
父节点
当前提交
95785a9585
共有 1 个文件被更改,包括 5 次插入7 次删除
  1. 5
    7
      react/features/notifications/components/Notification.native.js

+ 5
- 7
react/features/notifications/components/Notification.native.js 查看文件

88
                 </View>
88
                 </View>
89
                 {
89
                 {
90
                     isDismissAllowed
90
                     isDismissAllowed
91
-                    && <View style = { styles.actionColumn }>
92
-                        <TouchableOpacity onPress = { this._onDismissed }>
93
-                            <Icon
94
-                                name = { 'close' }
95
-                                style = { styles.dismissIcon } />
96
-                        </TouchableOpacity>
97
-                    </View>
91
+                    && <TouchableOpacity onPress = { this._onDismissed }>
92
+                        <Icon
93
+                            name = { 'close' }
94
+                            style = { styles.dismissIcon } />
95
+                    </TouchableOpacity>
98
                 }
96
                 }
99
             </View>
97
             </View>
100
         );
98
         );

正在加载...
取消
保存