mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-20 00:47:47 +00:00
fix(notifications) remove unused isDismissAllowed prop
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
e6ce5fd75f
commit
01bd18b86a
@@ -32,8 +32,6 @@ class Notification extends AbstractNotification<Props> {
|
||||
* @returns {ReactElement}
|
||||
*/
|
||||
render() {
|
||||
const { isDismissAllowed } = this.props;
|
||||
|
||||
return (
|
||||
<View
|
||||
pointerEvents = 'box-none'
|
||||
@@ -47,14 +45,11 @@ class Notification extends AbstractNotification<Props> {
|
||||
}
|
||||
</View>
|
||||
</View>
|
||||
{
|
||||
isDismissAllowed
|
||||
&& <TouchableOpacity onPress = { this._onDismissed }>
|
||||
<Icon
|
||||
src = { IconClose }
|
||||
style = { styles.dismissIcon } />
|
||||
</TouchableOpacity>
|
||||
}
|
||||
<TouchableOpacity onPress = { this._onDismissed }>
|
||||
<Icon
|
||||
src = { IconClose }
|
||||
style = { styles.dismissIcon } />
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user