Remove obsolate PlatformElements.native.js
This commit is contained in:
parent
7da26042b3
commit
357f173e85
|
@ -1,49 +0,0 @@
|
||||||
import { ColorPalette } from './ColorPalette';
|
|
||||||
import { BoxModel } from './BoxModel';
|
|
||||||
|
|
||||||
import {
|
|
||||||
createStyleSheet
|
|
||||||
} from '../../functions';
|
|
||||||
|
|
||||||
export const PlatformElements = createStyleSheet({
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Platform specific header button (e.g. back, menu...etc).
|
|
||||||
*/
|
|
||||||
headerButton: {
|
|
||||||
alignSelf: 'center',
|
|
||||||
color: ColorPalette.white,
|
|
||||||
fontSize: 26,
|
|
||||||
paddingRight: 22
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Generic style for a label placed in the header.
|
|
||||||
*/
|
|
||||||
headerText: {
|
|
||||||
color: ColorPalette.white,
|
|
||||||
fontSize: 20
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* An empty padded view to place components.
|
|
||||||
*/
|
|
||||||
paddedView: {
|
|
||||||
padding: BoxModel.padding
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The topmost level element of a page.
|
|
||||||
*/
|
|
||||||
page: {
|
|
||||||
alignItems: 'stretch',
|
|
||||||
bottom: 0,
|
|
||||||
flex: 1,
|
|
||||||
flexDirection: 'column',
|
|
||||||
left: 0,
|
|
||||||
overflow: 'hidden',
|
|
||||||
position: 'absolute',
|
|
||||||
right: 0,
|
|
||||||
top: 0
|
|
||||||
}
|
|
||||||
});
|
|
|
@ -1,3 +1,2 @@
|
||||||
export * from './BoxModel';
|
export * from './BoxModel';
|
||||||
export * from './ColorPalette';
|
export * from './ColorPalette';
|
||||||
export * from './PlatformElements';
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ import { Icon } from '../../base/font-icons';
|
||||||
import { MEDIA_TYPE } from '../../base/media';
|
import { MEDIA_TYPE } from '../../base/media';
|
||||||
import { updateProfile } from '../../base/profile';
|
import { updateProfile } from '../../base/profile';
|
||||||
import { LoadingIndicator, Header, Text } from '../../base/react';
|
import { LoadingIndicator, Header, Text } from '../../base/react';
|
||||||
import { ColorPalette, PlatformElements } from '../../base/styles';
|
import { ColorPalette } from '../../base/styles';
|
||||||
import {
|
import {
|
||||||
createDesiredLocalTracks,
|
createDesiredLocalTracks,
|
||||||
destroyLocalTracks
|
destroyLocalTracks
|
||||||
|
@ -114,7 +114,7 @@ class WelcomePage extends AbstractWelcomePage {
|
||||||
</View>
|
</View>
|
||||||
</Header>
|
</Header>
|
||||||
<SafeAreaView style = { styles.roomContainer } >
|
<SafeAreaView style = { styles.roomContainer } >
|
||||||
<View style = { PlatformElements.paddedView } >
|
<View style = { styles.joinControls } >
|
||||||
<TextInput
|
<TextInput
|
||||||
accessibilityLabel = { 'Input room name.' }
|
accessibilityLabel = { 'Input room name.' }
|
||||||
autoCapitalize = 'none'
|
autoCapitalize = 'none'
|
||||||
|
|
|
@ -131,6 +131,13 @@ export default createStyleSheet({
|
||||||
paddingTop: 10
|
paddingTop: 10
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A view that contains the field and hint box.
|
||||||
|
*/
|
||||||
|
joinControls: {
|
||||||
|
padding: BoxModel.padding
|
||||||
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The style of the top-level container/{@code View} of
|
* The style of the top-level container/{@code View} of
|
||||||
* {@code LocalVideoTrackUnderlay}.
|
* {@code LocalVideoTrackUnderlay}.
|
||||||
|
|
Loading…
Reference in New Issue