diff --git a/native/cpp/CommonCpp/Tools/StaffUtils.cpp b/native/cpp/CommonCpp/Tools/StaffUtils.cpp index 62785ebe9..c63085867 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 true; + return false; } } // namespace comm diff --git a/native/utils/staff-utils.js b/native/utils/staff-utils.js index afa96eb31..7b5580309 100644 --- a/native/utils/staff-utils.js +++ b/native/utils/staff-utils.js @@ -1,21 +1,21 @@ // @flow import { isStaff } from 'lib/shared/staff-utils.js'; import { useSelector } from '../redux/redux-utils.js'; -const isStaffRelease = true; +const isStaffRelease = false; function useIsCurrentUserStaff(): boolean { const isCurrentUserStaff = useSelector(state => state.currentUserInfo?.id ? isStaff(state.currentUserInfo.id) : false, ); return isCurrentUserStaff; } function useStaffCanSee(): boolean { const isCurrentUserStaff = useIsCurrentUserStaff(); return __DEV__ || isStaffRelease || isCurrentUserStaff; } export { isStaffRelease, useIsCurrentUserStaff, useStaffCanSee };