mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-12 02:08:22 +01:00
FIX: Flash icon height
This commit is contained in:
parent
b8bc56d9ec
commit
8113bc9290
2 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ const styles = StyleSheet.create({
|
|||
borderRadius: 20,
|
||||
position: 'absolute',
|
||||
left: 16,
|
||||
top: 44,
|
||||
top: 55,
|
||||
},
|
||||
closeImage: {
|
||||
alignSelf: 'center',
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
renderTorchButton() {
|
||||
- return (!this.isCaptureRetakeMode() && (<TouchableOpacity style={{ paddingHorizontal: 15 }} onPress={() => this.onSetTorch()}>
|
||||
- <Image style={[{ flex: 1, justifyContent: 'center' }, this.props.torchImageStyle]} source={this.state.torchMode ? this.props.torchOnImage : this.props.torchOffImage} resizeMode="contain"/>
|
||||
+ return (!this.isCaptureRetakeMode() && (<TouchableOpacity style={{ backgroundColor: '#FFFFFF', borderRadius: 20 }} onPress={() => this.onSetTorch()}>
|
||||
+ return (!this.isCaptureRetakeMode() && (<TouchableOpacity style={{ backgroundColor: '#FFFFFF', borderRadius: 20, height: 40, marginHorizontal: 15 }} onPress={() => this.onSetTorch()}>
|
||||
+ <Image style={[{ width: 40, height: 40, justifyContent: 'center' }, this.props.torchImageStyle]} source={this.state.torchMode ? this.props.torchOnImage : this.props.torchOffImage} resizeMode="contain"/>
|
||||
</TouchableOpacity>));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue