feat(etherpad): ui fixes

This commit is contained in:
Calin-Teodor 2022-07-05 15:15:59 +03:00 committed by Saúl Ibarra Corretgé
parent 7770d59c93
commit 40128277bc
2 changed files with 15 additions and 6 deletions

View File

@ -59,9 +59,11 @@ class SharedDocument extends PureComponent<Props> {
addHeaderHeightValue = { true }
style = { styles.sharedDocContainer }>
<WebView
hideKeyboardAccessoryView = { true }
renderLoading = { this._renderLoading }
source = {{ uri: _documentUrl }}
startInLoadingState = { true } />
startInLoadingState = { true }
style = { styles.sharedDoc } />
</JitsiScreen>
);
}

View File

@ -1,22 +1,29 @@
// @flow
import { ColorPalette } from '../../../base/styles';
import BaseTheme from '../../../base/ui/components/BaseTheme.native';
export const INDICATOR_COLOR = ColorPalette.lightGrey;
export const INDICATOR_COLOR = BaseTheme.palette.indicatorColor;
export default {
indicatorWrapper: {
alignItems: 'center',
backgroundColor: ColorPalette.white,
backgroundColor: BaseTheme.palette.ui12,
height: '100%',
justifyContent: 'center'
},
sharedDocContainer: {
flex: 1
backgroundColor: BaseTheme.palette.ui12,
flex: 1,
paddingRight: BaseTheme.spacing[3]
},
sharedDoc: {
marginBottom: BaseTheme.spacing[3]
},
webView: {
backgroundColor: 'rgb(242, 242, 242)'
backgroundColor: BaseTheme.palette.ui12
}
};