From d0d7585f3084997782d33d7a1b60a43b23ad4590 Mon Sep 17 00:00:00 2001 From: yostyle Date: Thu, 19 Oct 2023 09:42:44 +0200 Subject: [PATCH] Fix PR comment --- .../java/im/vector/app/features/settings/VectorPreferences.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt b/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt index c1882b2f73..ef3e791d91 100755 --- a/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt +++ b/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt @@ -994,7 +994,7 @@ class VectorPreferences @Inject constructor( */ fun useFlagSecure(): Boolean { // Tchap: Screenshot is allowed for Gplay Pre-prod and Dev versions only. - return !(BuildConfig.FLAVOR_store == "gplay" && BuildConfig.FLAVOR_target != "tchap") + return BuildConfig.FLAVOR_store != "gplay" || BuildConfig.FLAVOR_target == "tchap" } /** Whether the keyboard should disable personalized learning. */