Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
fix(notifications) remove unused isDismissAllowed prop
Saúl Ibarra Corretgé01bd18b86a92
diff --git a/react/features/notifications/components/AbstractNotification.js b/react/features/notifications/components/AbstractNotification.jsindex df61b37d1f..f03c635a47 100644--- a/react/features/notifications/components/AbstractNotification.js+++ b/react/features/notifications/components/AbstractNotification.js@@ -61,11 +61,6 @@ export type Props = {*/icon?: String,- /**- * Whether or not the dismiss button should be displayed.- */- isDismissAllowed: boolean,-/*** Maximum lines of the description.*/@@ -116,8 +111,7 @@ export default class AbstractNotification<P: Props> extends Component<P> {* @static*/static defaultProps = {- appearance: NOTIFICATION_TYPE.NORMAL,- isDismissAllowed: true+ appearance: NOTIFICATION_TYPE.NORMAL};/**diff --git a/react/features/notifications/components/native/Notification.js b/react/features/notifications/components/native/Notification.jsindex 0cc7cc9089..5c9280ba2e 100644--- a/react/features/notifications/components/native/Notification.js+++ b/react/features/notifications/components/native/Notification.js@@ -32,8 +32,6 @@ class Notification extends AbstractNotification<Props> {* @returns {ReactElement}*/render() {- const { isDismissAllowed } = this.props;-return (<ViewpointerEvents = '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>);}