Page MenuHomePhabricator

[lib/native/web] introduce pinnedMessageCountText function
ClosedPublic

Authored by ginsu on Dec 15 2023, 12:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Apr 8 2024, 11:45 PM
Unknown Object (File)
Apr 8 2024, 11:45 PM
Unknown Object (File)
Apr 8 2024, 11:45 PM
Unknown Object (File)
Apr 8 2024, 11:45 PM
Unknown Object (File)
Apr 8 2024, 11:43 PM
Unknown Object (File)
Mar 6 2024, 11:58 PM
Unknown Object (File)
Mar 6 2024, 11:10 PM
Unknown Object (File)
Mar 6 2024, 11:10 PM
Subscribers

Details

Summary

Noticed that this logic was being repeated in several places + was about to reintroduce this logic again in another place. Rather than copy+paste figured it would be better to factor this logic out into it's own function

Depends on D10346

Test Plan

flow and confirmed both on native and web that there are no regressions with the pinned message count text

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Dec 15 2023, 12:40 AM
Harbormaster failed remote builds in B25104: Diff 34691!

will make sure ci passes before landing

This revision is now accepted and ready to land.Dec 15 2023, 8:12 AM