native ui fixes

pull/12035/head jitsi-meet_7676
Calin-Teodor 2 years ago committed by Calinteodor
parent e578f6c30f
commit e8cdf38fda
  1. 2
      react/features/base/ui/components/native/buttonStyles.ts
  2. 12
      react/features/base/ui/components/native/inputStyles.ts
  3. 3
      react/features/participants-pane/components/native/MeetingParticipantList.js
  4. 2
      react/features/recording/components/Recording/styles.native.js
  5. 17
      react/features/security/components/security-dialog/native/SecurityDialog.js
  6. 14
      react/features/security/components/security-dialog/native/styles.js

@ -40,7 +40,7 @@ export default {
buttonLabelSecondary: {
...buttonLabel,
color: BaseTheme.palette.text0
color: BaseTheme.palette.text04
},
buttonLabelDestructive: {

@ -26,16 +26,14 @@ export default {
},
input: {
...BaseTheme.typography.bodyShortRegularLarge,
backgroundColor: BaseTheme.palette.ui03,
color: BaseTheme.palette.text01,
paddingVertical: 13,
paddingHorizontal: BaseTheme.spacing[3],
borderColor: BaseTheme.palette.ui03,
borderRadius: BaseTheme.shape.borderRadius,
...BaseTheme.typography.bodyShortRegularLarge,
lineHeight: 0,
height: 48,
borderWidth: 2,
borderColor: BaseTheme.palette.ui03
color: BaseTheme.palette.text01,
paddingHorizontal: BaseTheme.spacing[3],
height: 48
},
inputDisabled: {

@ -236,7 +236,8 @@ class MeetingParticipantList extends PureComponent<Props> {
}
<Input
clearable = { true }
customStyles = {{ container: styles.inputContainer,
customStyles = {{
container: styles.inputContainer,
input: styles.centerInput }}
onChange = { this._onSearchStringChange }
placeholder = { t('participantsPane.search') }

@ -131,7 +131,7 @@ ColorSchemeRegistry.register('StartRecordingDialogContent', {
},
loggedIn: {
paddingBottom: _PADDING
paddingHorizontal: _PADDING
},
recordingIcon: {

@ -1,15 +1,11 @@
// @flow
import Clipboard from '@react-native-community/clipboard';
import React, { PureComponent } from 'react';
import {
Text,
TextInput,
View
} from 'react-native';
import type { Dispatch } from 'redux';
import { FIELD_UNDERLINE } from '../../../../base/dialog';
import { getFeatureFlag, MEETING_PASSWORD_ENABLED } from '../../../../base/flags';
import { translate } from '../../../../base/i18n';
import JitsiScreen from '../../../../base/modal/components/JitsiScreen';
@ -17,6 +13,7 @@ import { isLocalParticipantModerator } from '../../../../base/participants';
import { connect } from '../../../../base/redux';
import BaseTheme from '../../../../base/ui/components/BaseTheme';
import Button from '../../../../base/ui/components/native/Button';
import Input from '../../../../base/ui/components/native/Input';
import { BUTTON_TYPES } from '../../../../base/ui/constants';
import { isInBreakoutRoom } from '../../../../breakout-rooms/functions';
import { toggleLobbyMode } from '../../../../lobby/actions.any';
@ -353,14 +350,14 @@ class SecurityDialog extends PureComponent<Props, State> {
if (showElement) {
if (typeof _locked === 'undefined') {
return (
<TextInput
<Input
accessibilityLabel = { t('info.addPassword') }
autoFocus = { true }
onChangeText = { this._onChangeText }
placeholder = { t('lobby.passwordField') }
clearable = { true }
customStyles = {{ container: styles.passwordInput }}
onChange = { this._onChangeText }
placeholder = { t('dialog.password') }
placeholderTextColor = { BaseTheme.palette.text03 }
selectionColor = { BaseTheme.palette.action01 }
style = { styles.passwordInput }
underlineColorAndroid = { FIELD_UNDERLINE }
value = { passwordInputValue }
{ ...textInputProps } />
);

@ -61,7 +61,7 @@ export default {
savedPasswordContainer: {
flexDirection: 'row',
marginTop: 30,
marginTop: 14,
width: 208
},
@ -75,19 +75,13 @@ export default {
},
passwordInput: {
borderColor: BaseTheme.palette.action03Active,
borderRadius: BaseTheme.spacing[1],
borderWidth: 2,
color: BaseTheme.palette.text01,
height: BaseTheme.spacing[6],
marginTop: BaseTheme.spacing[2],
paddingLeft: BaseTheme.spacing[1],
width: 208
},
passwordSetupButtonLabel: {
color: BaseTheme.palette.link01,
marginTop: BaseTheme.spacing[4]
marginTop: BaseTheme.spacing[3]
},
passwordSetRemotelyContainer: {
@ -98,11 +92,11 @@ export default {
passwordSetRemotelyText: {
color: BaseTheme.palette.text01,
marginTop: 22
marginTop: BaseTheme.spacing[3]
},
passwordSetRemotelyTextDisabled: {
color: BaseTheme.palette.text02,
marginTop: 22
marginTop: BaseTheme.spacing[3]
}
};

Loading…
Cancel
Save