Skip to content

Commit

Permalink
fix: video black screen (#64)
Browse files Browse the repository at this point in the history
* Remove courier

* Add white background color
  • Loading branch information
amaury1093 authored Mar 25, 2019
1 parent 2486567 commit 1aac378
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion App/Screens/ErrorScreen/ErrorScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const styles = StyleSheet.create({
},
errorMessage: {
...theme.text,
fontFamily: 'Courier',
fontSize: 10,
marginTop: theme.spacing.small
},
Expand Down
1 change: 1 addition & 0 deletions App/Screens/Home/SmokeVideo/SmokeVideo.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export class SmokeVideo extends Component {

const styles = StyleSheet.create({
video: {
backgroundColor: 'white',
bottom: 0,
height: Dimensions.get('screen').height,
position: 'absolute',
Expand Down
4 changes: 0 additions & 4 deletions App/Screens/Screens.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ const ErrorStack = createAppContainer(
@inject('stores')
@observer
export class Screens extends Component {
state = {
showVideo: true // Showing video or not
};

componentDidCatch (error) {
this.props.stores.setError(error.message);
}
Expand Down

0 comments on commit 1aac378

Please sign in to comment.