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)
Thu, Oct 31, 8:47 AM
Unknown Object (File)
Oct 3 2024, 7:06 PM
Unknown Object (File)
Oct 3 2024, 4:52 PM
Unknown Object (File)
Oct 3 2024, 4:51 PM
Unknown Object (File)
Oct 3 2024, 4:51 PM
Unknown Object (File)
Oct 3 2024, 4:51 PM
Unknown Object (File)
Oct 3 2024, 4:51 PM
Unknown Object (File)
Oct 3 2024, 4:51 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