Page MenuHomePhabricator

[lib] introduce getDefaultAvatar helper function
ClosedPublic

Authored by ginsu on Mar 21 2023, 10:22 PM.
Tags
None
Referenced Files
F1694622: D7131.diff
Thu, May 2, 11:12 PM
Unknown Object (File)
Sun, Apr 28, 1:36 AM
Unknown Object (File)
Sun, Apr 28, 1:36 AM
Unknown Object (File)
Sun, Apr 28, 1:33 AM
Unknown Object (File)
Sun, Apr 28, 1:11 AM
Unknown Object (File)
Mar 28 2024, 8:30 AM
Unknown Object (File)
Mar 7 2024, 4:01 AM
Unknown Object (File)
Mar 7 2024, 4:01 AM
Subscribers

Details

Summary

This logic will be used for both user and thread avatars so introduced getDefaultAvatar which is a helper function so I wouldn't need to copy/paste the logic in both places

Test Plan

flow and user avatars still render as expected with this new helper function. This diff will be further tested in subsequent diffs as well

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable