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
[RN] Add ongoing label to calendar notifications for past meetings
Bettenbuk Zoltan5c7b7cd6254f
diff --git a/lang/main.json b/lang/main.jsonindex c97157d1ed..a79d872c2b 100644--- a/lang/main.json+++ b/lang/main.json@@ -563,6 +563,7 @@"next": "Upcoming","nextMeeting": "next meeting","now": "Now",+ "ongoingMeeting": "ongoing meeting","permissionButton": "Open settings","permissionMessage": "Calendar permission is required to list your meetings in the app."},diff --git a/react/features/calendar-sync/components/ConferenceNotification.native.js b/react/features/calendar-sync/components/ConferenceNotification.native.jsindex d7eeffc770..6ce2415919 100644--- a/react/features/calendar-sync/components/ConferenceNotification.native.js+++ b/react/features/calendar-sync/components/ConferenceNotification.native.js@@ -110,6 +110,12 @@ class ConferenceNotification extends Component<Props, State> {const { t } = this.props;if (event) {+ const now = Date.now();+ const label+ = event.startDate < now && event.endDate > now+ ? 'calendarSync.ongoingMeeting'+ : 'calendarSync.nextMeeting';+return (<Viewstyle = { [@@ -126,7 +132,7 @@ class ConferenceNotification extends Component<Props, State> {styles.notificationTextContainer}><Text style = { styles.notificationText }>- { t('calendarSync.nextMeeting') }+ { t(label) }</Text><Text style = { styles.notificationText }>{