fix(rn,video-layout) fix mobile
In adcd9a501b
a call to getCurrentLayout
was introduced, which is not mobile-friendly :-(
This commit is contained in:
parent
5f62acc67c
commit
06842c724a
|
@ -40,7 +40,10 @@ export function getAutoPinSetting() {
|
|||
* @returns {string}
|
||||
*/
|
||||
export function getCurrentLayout(state: Object) {
|
||||
if (shouldDisplayTileView(state)) {
|
||||
if (navigator.product === 'ReactNative') {
|
||||
// FIXME: what should this return?
|
||||
return undefined;
|
||||
} else if (shouldDisplayTileView(state)) {
|
||||
return LAYOUTS.TILE_VIEW;
|
||||
} else if (interfaceConfig.VERTICAL_FILMSTRIP) {
|
||||
if (isStageFilmstripAvailable(state, 2)) {
|
||||
|
|
Loading…
Reference in New Issue