mirror of
https://github.com/bitwarden/mobile
synced 2025-12-23 03:33:59 +00:00
debug check on screenshot protection
This commit is contained in:
@@ -29,5 +29,14 @@ namespace Bit.App.Utilities
|
||||
throw new Exception("Unsupported platform.");
|
||||
}
|
||||
}
|
||||
|
||||
public static bool InDebugMode()
|
||||
{
|
||||
#if DEBUG
|
||||
return true;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user