diff --git a/app/src/page/file/view.js b/app/src/page/file/view.js index e165411d..dece2a0a 100644 --- a/app/src/page/file/view.js +++ b/app/src/page/file/view.js @@ -311,7 +311,7 @@ class FilePage extends React.PureComponent { - {(canOpen || (!fileInfo || (isPlayable && !canLoadMedia))) && + {((canOpen || (!fileInfo || (isPlayable && !canLoadMedia))) || (!canOpen && fileInfo)) && } {((!this.state.downloadButtonShown || this.state.downloadPressed) && !this.state.mediaLoaded) && } diff --git a/app/src/styles/fileDownloadButton.js b/app/src/styles/fileDownloadButton.js index 0b0f2b4d..d7768ef6 100644 --- a/app/src/styles/fileDownloadButton.js +++ b/app/src/styles/fileDownloadButton.js @@ -2,7 +2,8 @@ import { StyleSheet } from 'react-native'; const fileDownloadButtonStyle = StyleSheet.create({ container: { - width: 160, + paddingLeft: 32, + paddingRight: 32, height: 36, borderRadius: 18, justifyContent: 'center', diff --git a/app/src/styles/mediaPlayer.js b/app/src/styles/mediaPlayer.js index dd666942..c836c0b5 100644 --- a/app/src/styles/mediaPlayer.js +++ b/app/src/styles/mediaPlayer.js @@ -49,7 +49,7 @@ const mediaPlayerStyle = StyleSheet.create({ height: '100%', }, playerControlsContainer: { - backgroundColor: 'transparent', + backgroundColor: '#00000020', flex: 1, alignItems: 'center', justifyContent: 'center'