Browse Source

ref(Notification.native): remove unnecessary View

The styles.actionColumn does not exist. It looks the same without the
extra View.
master
paweldomas 7 years ago
parent
commit
95785a9585
1 changed files with 5 additions and 7 deletions
  1. 5
    7
      react/features/notifications/components/Notification.native.js

+ 5
- 7
react/features/notifications/components/Notification.native.js View File

@@ -88,13 +88,11 @@ class Notification extends AbstractNotification<Props> {
88 88
                 </View>
89 89
                 {
90 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 97
             </View>
100 98
         );

Loading…
Cancel
Save