1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-11 05:43:30 +00:00

debug check on screenshot protection

This commit is contained in:
Kyle Spearrin
2017-07-24 15:04:31 -04:00
parent 679859fb37
commit 73425c0052
4 changed files with 15 additions and 21 deletions

View File

@@ -93,7 +93,7 @@ namespace Bit.Android
}
// 3. In debug mode
if(InDebugMode())
if(App.Utilities.Helpers.InDebugMode())
{
reregister = true;
}
@@ -114,15 +114,6 @@ namespace Bit.Android
}
}
private bool InDebugMode()
{
#if DEBUG
return true;
#else
return false;
#endif
}
public override void OnTerminate()
{
base.OnTerminate();