Skip to content

Commit 969aa60

Browse files
author
shallot
authored
Merge pull request #10 from GodVampire/master
The top button of the camera will be hidden if it is preview status.
2 parents 19524bd + d1e3a91 commit 969aa60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CameraView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default class extends React.PureComponent {
4242
<View style={styles.container}>
4343
<StatusBar hidden={true} />
4444
{!this.state.isPreview ? this._renderCameraView() : this._renderPreviewView()}
45-
{this._renderTopView()}
45+
{!this.state.isPreview && this._renderTopView()}
4646
{this._renderBottomView()}
4747
</View>
4848
);

0 commit comments

Comments
 (0)