mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 18:00:17 +01:00
6017f4d990
FIX: Create button was difficult to press on android. ADD: Clipboard detection on app state change to foreground OPS: Upgrade to RN 58.6 due to various important fixes FIX: Statusbar restored
14 lines
428 B
JavaScript
14 lines
428 B
JavaScript
import Obscure from 'react-native-obscure';
|
|
import { Platform } from 'react-native';
|
|
const PrivacySnapshot = require('react-native-privacy-snapshot');
|
|
|
|
export default class Privacy {
|
|
static enableBlur() {
|
|
Platform.OS === 'android' ? Obscure.activateObscure() : PrivacySnapshot.enabled(true);
|
|
}
|
|
|
|
static disableBlur() {
|
|
Platform.OS === 'android' ? Obscure.deactivateObscure() : PrivacySnapshot.enabled(false);
|
|
}
|
|
}
|