Page MenuHomePhabricator

No OneTemporary

diff --git a/native/cpp/CommonCpp/Tools/StaffUtils.cpp b/native/cpp/CommonCpp/Tools/StaffUtils.cpp
index c63085867..62785ebe9 100644
--- a/native/cpp/CommonCpp/Tools/StaffUtils.cpp
+++ b/native/cpp/CommonCpp/Tools/StaffUtils.cpp
@@ -1,7 +1,7 @@
#include "StaffUtils.h"
namespace comm {
bool StaffUtils::isStaffRelease() {
- return false;
+ return true;
}
} // namespace comm
diff --git a/native/utils/staff-utils.js b/native/utils/staff-utils.js
index c76228090..3464e9217 100644
--- a/native/utils/staff-utils.js
+++ b/native/utils/staff-utils.js
@@ -1,12 +1,12 @@
// @flow
import { useIsCurrentUserStaff } from 'lib/shared/staff-utils.js';
-const isStaffRelease = false;
+const isStaffRelease = true;
function useStaffCanSee(): boolean {
const isCurrentUserStaff = useIsCurrentUserStaff();
return __DEV__ || isStaffRelease || isCurrentUserStaff;
}
export { isStaffRelease, useStaffCanSee };

File Metadata

Mime Type
text/x-diff
Expires
Wed, Dec 25, 5:42 PM (6 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2653811
Default Alt Text
(921 B)

Event Timeline