mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 13:47:46 +00:00
feat(notifications) revisit timeouts and make them configurable
This commit is contained in:
@@ -16,7 +16,7 @@ import { connect } from '../../base/redux';
|
||||
import { updateSettings } from '../../base/settings';
|
||||
import { Tooltip } from '../../base/tooltip';
|
||||
import { getLocalVideoTrack } from '../../base/tracks';
|
||||
import { showErrorNotification } from '../../notifications';
|
||||
import { NOTIFICATION_TIMEOUT_TYPE, showErrorNotification } from '../../notifications';
|
||||
import { toggleBackgroundEffect, virtualBackgroundTrackChanged } from '../actions';
|
||||
import { IMAGES, BACKGROUNDS_LIMIT, VIRTUAL_BACKGROUND_TYPE, type Image } from '../constants';
|
||||
import { toDataURL } from '../functions';
|
||||
@@ -219,7 +219,7 @@ function VirtualBackground({
|
||||
if (!isCancelled) {
|
||||
dispatch(showErrorNotification({
|
||||
titleKey: 'virtualBackground.desktopShareError'
|
||||
}));
|
||||
}, NOTIFICATION_TIMEOUT_TYPE.LONG));
|
||||
logger.error('Could not create desktop share as a virtual background!');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user