diff --git a/index.js b/index.js index b3f5054..b6a59f2 100644 --- a/index.js +++ b/index.js @@ -7,7 +7,7 @@ export default class Obscure extends React.Component { static activateObscure() { if (!Obscure.isObscureActive) { NativeModules.Obscure.activateObscure(); - FlagSecure.isFlagSecureActive = true; + Obscure.isObscureActive = true; } } diff --git a/package.json b/package.json index 40d15a4..953b75f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-obscure", - "version": "1.2.0", + "version": "1.2.1", "description": "A react native android module for obscuring applications when switching applications and preventing taking screenshots of the application.", "main": "index.js", "keywords": [