We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3afe54c commit 742e98dCopy full SHA for 742e98d
app/src/main/kotlin/photos/network/MainActivity.kt
@@ -53,7 +53,12 @@ class MainActivity : ComponentActivity() {
53
54
WindowCompat.setDecorFitsSystemWindows(window, false)
55
56
- window.setFlags(WindowManager.LayoutParams.FLAG_SECURE, WindowManager.LayoutParams.FLAG_SECURE)
+ if (!BuildConfig.DEBUG) {
57
+ window.setFlags(
58
+ WindowManager.LayoutParams.FLAG_SECURE,
59
60
+ )
61
+ }
62
63
setContent {
64
PhotosApp(
0 commit comments