Merge branch 'master' into biometrics

This commit is contained in:
Marcos Rodriguez 2019-10-09 05:00:17 -04:00
commit 0f9a4e29c3
3 changed files with 6 additions and 5 deletions

View file

@ -376,7 +376,7 @@ SPEC CHECKSUMS:
React-RCTText: b074d89033583d4f2eb5faf7ea2db3a13c7553a2 React-RCTText: b074d89033583d4f2eb5faf7ea2db3a13c7553a2
React-RCTVibration: 2105b2e0e2b66a6408fc69a46c8a7fb5b2fdade0 React-RCTVibration: 2105b2e0e2b66a6408fc69a46c8a7fb5b2fdade0
React-RCTWebSocket: cd932a16b7214898b6b7f788c8bddb3637246ac4 React-RCTWebSocket: cd932a16b7214898b6b7f788c8bddb3637246ac4
ReactNativePrivacySnapshot: 997ae09976798149feed5ba1719d9230b17edd39 ReactNativePrivacySnapshot: cc295e45dc22810e9ff2c93380d643de20a77015
RemobileReactNativeQrcodeLocalImage: 57aadc12896b148fb5e04bc7c6805f3565f5c3fa RemobileReactNativeQrcodeLocalImage: 57aadc12896b148fb5e04bc7c6805f3565f5c3fa
RNCAsyncStorage: 2808c378f6a70f22f66eeb6c11a8d69f326dd795 RNCAsyncStorage: 2808c378f6a70f22f66eeb6c11a8d69f326dd795
RNDeviceInfo: a88be26a64ada7cbc2bc0ebbd1662d340304874e RNDeviceInfo: a88be26a64ada7cbc2bc0ebbd1662d340304874e

2
package-lock.json generated
View file

@ -11241,7 +11241,7 @@
"integrity": "sha512-DzEU0Ejl/kMZz6FJ7Mks8se4jceJZk9QINHILNU9GQFrjP4mxodZ9HiqVbs9F+xUE4NCOE8Ib36MxxdfLRw1OQ==" "integrity": "sha512-DzEU0Ejl/kMZz6FJ7Mks8se4jceJZk9QINHILNU9GQFrjP4mxodZ9HiqVbs9F+xUE4NCOE8Ib36MxxdfLRw1OQ=="
}, },
"react-native-privacy-snapshot": { "react-native-privacy-snapshot": {
"version": "git+https://github.com/BlueWallet/react-native-privacy-snapshot.git#be807e78d6c0fb712759de3d1e8320635f03c8d2", "version": "git+https://github.com/BlueWallet/react-native-privacy-snapshot.git#a7c594fb5de6d2cbbb55c2d539a37dc25eda74d8",
"from": "git+https://github.com/BlueWallet/react-native-privacy-snapshot.git" "from": "git+https://github.com/BlueWallet/react-native-privacy-snapshot.git"
}, },
"react-native-prompt-android": { "react-native-prompt-android": {

View file

@ -43,8 +43,6 @@ export default class ReceiveDetails extends Component {
async componentDidMount() { async componentDidMount() {
Privacy.enableBlur(); Privacy.enableBlur();
await SystemSetting.saveBrightness();
await SystemSetting.setAppBrightness(1.0);
console.log('receive/details - componentDidMount'); console.log('receive/details - componentDidMount');
/** @type {AbstractWallet} */ /** @type {AbstractWallet} */
@ -108,7 +106,10 @@ export default class ReceiveDetails extends Component {
InteractionManager.runAfterInteractions(async () => { InteractionManager.runAfterInteractions(async () => {
const bip21encoded = bip21.encode(this.state.address); const bip21encoded = bip21.encode(this.state.address);
this.setState({ bip21encoded }); this.setState({ bip21encoded }, async () => {
await SystemSetting.saveBrightness();
await SystemSetting.setAppBrightness(1.0);
});
}); });
} }