Ver código fonte

Remove obsolate PlatformElements.native.js

j8
zbettenbuk 7 anos atrás
pai
commit
357f173e85

+ 0
- 49
react/features/base/styles/components/styles/PlatformElements.native.js Ver arquivo

@@ -1,49 +0,0 @@
1
-import { ColorPalette } from './ColorPalette';
2
-import { BoxModel } from './BoxModel';
3
-
4
-import {
5
-    createStyleSheet
6
-} from '../../functions';
7
-
8
-export const PlatformElements = createStyleSheet({
9
-
10
-    /**
11
-     * Platform specific header button (e.g. back, menu...etc).
12
-     */
13
-    headerButton: {
14
-        alignSelf: 'center',
15
-        color: ColorPalette.white,
16
-        fontSize: 26,
17
-        paddingRight: 22
18
-    },
19
-
20
-    /**
21
-     * Generic style for a label placed in the header.
22
-     */
23
-    headerText: {
24
-        color: ColorPalette.white,
25
-        fontSize: 20
26
-    },
27
-
28
-    /**
29
-     * An empty padded view to place components.
30
-     */
31
-    paddedView: {
32
-        padding: BoxModel.padding
33
-    },
34
-
35
-    /**
36
-     * The topmost level element of a page.
37
-     */
38
-    page: {
39
-        alignItems: 'stretch',
40
-        bottom: 0,
41
-        flex: 1,
42
-        flexDirection: 'column',
43
-        left: 0,
44
-        overflow: 'hidden',
45
-        position: 'absolute',
46
-        right: 0,
47
-        top: 0
48
-    }
49
-});

+ 0
- 1
react/features/base/styles/components/styles/index.js Ver arquivo

@@ -1,3 +1,2 @@
1 1
 export * from './BoxModel';
2 2
 export * from './ColorPalette';
3
-export * from './PlatformElements';

+ 2
- 2
react/features/welcome/components/WelcomePage.native.js Ver arquivo

@@ -16,7 +16,7 @@ import { Icon } from '../../base/font-icons';
16 16
 import { MEDIA_TYPE } from '../../base/media';
17 17
 import { updateProfile } from '../../base/profile';
18 18
 import { LoadingIndicator, Header, Text } from '../../base/react';
19
-import { ColorPalette, PlatformElements } from '../../base/styles';
19
+import { ColorPalette } from '../../base/styles';
20 20
 import {
21 21
     createDesiredLocalTracks,
22 22
     destroyLocalTracks
@@ -114,7 +114,7 @@ class WelcomePage extends AbstractWelcomePage {
114 114
                         </View>
115 115
                     </Header>
116 116
                     <SafeAreaView style = { styles.roomContainer } >
117
-                        <View style = { PlatformElements.paddedView } >
117
+                        <View style = { styles.joinControls } >
118 118
                             <TextInput
119 119
                                 accessibilityLabel = { 'Input room name.' }
120 120
                                 autoCapitalize = 'none'

+ 7
- 0
react/features/welcome/components/styles.js Ver arquivo

@@ -131,6 +131,13 @@ export default createStyleSheet({
131 131
         paddingTop: 10
132 132
     },
133 133
 
134
+    /**
135
+     * A view that contains the field and hint box.
136
+     */
137
+    joinControls: {
138
+        padding: BoxModel.padding
139
+    },
140
+
134 141
     /**
135 142
      * The style of the top-level container/{@code View} of
136 143
      * {@code LocalVideoTrackUnderlay}.

Carregando…
Cancelar
Salvar