Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3113725
D7641.id25796.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
646 B
Referenced Files
None
Subscribers
None
D7641.id25796.diff
View Options
diff --git a/native/utils/avatar-utils.js b/native/utils/avatar-utils.js
--- a/native/utils/avatar-utils.js
+++ b/native/utils/avatar-utils.js
@@ -17,14 +17,10 @@
useDispatchActionPromise,
} from 'lib/utils/action-utils.js';
-import { FeatureFlagsContext } from '../components/feature-flags-provider.react.js';
import { displayActionResultModal } from '../navigation/action-result-modal.js';
function useShouldRenderAvatars(): boolean {
- const { configuration: featureFlagConfig } =
- React.useContext(FeatureFlagsContext);
-
- return !!featureFlagConfig['AVATARS_DISPLAY'];
+ return true;
}
function useSaveUserAvatar(): (
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 1, 6:30 PM (21 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2400512
Default Alt Text
D7641.id25796.diff (646 B)
Attached To
Mode
D7641: [native] hardcode avatar feature flag to true
Attached
Detach File
Event Timeline
Log In to Comment