mirror of https://github.com/jitsi/jitsi-meet
parent
4755f5a031
commit
6ab996568b
@ -1,9 +1,8 @@ |
||||
// @flow
|
||||
|
||||
// @ts-ignore
|
||||
import Bourne from '@hapi/bourne'; |
||||
import { NativeModules } from 'react-native'; |
||||
|
||||
import { loadScript } from '../util'; |
||||
import { loadScript } from '../util/loadScript.native'; |
||||
|
||||
import logger from './logger'; |
||||
|
@ -1,4 +1,4 @@ |
||||
import { getSdkBundlePath } from '../../app/functions'; |
||||
import { getSdkBundlePath } from '../../app/functions.native'; |
||||
|
||||
/** |
||||
* Returns the location of the sounds. On iOS it's the location of the SDK |
@ -0,0 +1 @@ |
||||
export * from './function.any'; |
@ -0,0 +1,17 @@ |
||||
import { IReduxState } from '../app/types'; |
||||
import { showOverflowDrawer } from '../toolbox/functions.web'; |
||||
|
||||
export * from './function.any'; |
||||
|
||||
/** |
||||
* Returns the visibility state of the gifs menu. |
||||
* |
||||
* @param {IReduxState} state - The state of the application. |
||||
* @returns {boolean} |
||||
*/ |
||||
export function isGifsMenuOpen(state: IReduxState) { |
||||
const overflowDrawer = showOverflowDrawer(state); |
||||
const { drawerVisible, menuOpen } = state['features/gifs']; |
||||
|
||||
return overflowDrawer ? drawerVisible : menuOpen; |
||||
} |
Loading…
Reference in new issue