|
@@ -32,8 +32,6 @@ class Notification extends AbstractNotification<Props> {
|
32
|
32
|
* @returns {ReactElement}
|
33
|
33
|
*/
|
34
|
34
|
render() {
|
35
|
|
- const { isDismissAllowed } = this.props;
|
36
|
|
-
|
37
|
35
|
return (
|
38
|
36
|
<View
|
39
|
37
|
pointerEvents = 'box-none'
|
|
@@ -47,14 +45,11 @@ class Notification extends AbstractNotification<Props> {
|
47
|
45
|
}
|
48
|
46
|
</View>
|
49
|
47
|
</View>
|
50
|
|
- {
|
51
|
|
- isDismissAllowed
|
52
|
|
- && <TouchableOpacity onPress = { this._onDismissed }>
|
53
|
|
- <Icon
|
54
|
|
- src = { IconClose }
|
55
|
|
- style = { styles.dismissIcon } />
|
56
|
|
- </TouchableOpacity>
|
57
|
|
- }
|
|
48
|
+ <TouchableOpacity onPress = { this._onDismissed }>
|
|
49
|
+ <Icon
|
|
50
|
+ src = { IconClose }
|
|
51
|
+ style = { styles.dismissIcon } />
|
|
52
|
+ </TouchableOpacity>
|
58
|
53
|
</View>
|
59
|
54
|
);
|
60
|
55
|
}
|