|
|
|
@ -1,5 +1,6 @@ |
|
|
|
|
// @flow
|
|
|
|
|
|
|
|
|
|
import { isMobileBrowser } from '../base/environment/utils'; |
|
|
|
|
import { getParticipantCountWithFake } from '../base/participants'; |
|
|
|
|
import { StateListenerRegistry, equals } from '../base/redux'; |
|
|
|
|
import { clientResized } from '../base/responsive-ui'; |
|
|
|
@ -99,7 +100,9 @@ StateListenerRegistry.register( |
|
|
|
|
StateListenerRegistry.register( |
|
|
|
|
/* selector */ state => state['features/base/responsive-ui'].clientWidth < DISPLAY_DRAWER_THRESHOLD, |
|
|
|
|
/* listener */ (widthBelowThreshold, store) => { |
|
|
|
|
store.dispatch(setOverflowDrawer(widthBelowThreshold)); |
|
|
|
|
if (isMobileBrowser()) { |
|
|
|
|
store.dispatch(setOverflowDrawer(widthBelowThreshold)); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|