Page MenuHomePhabricator

[lib/native/web] introduce pinnedMessageCountText function
ClosedPublic

Authored by ginsu on Dec 15 2023, 12:26 AM.
Tags
None
Referenced Files
F3507672: D10347.id35251.diff
Fri, Dec 20, 9:27 PM
F3507578: D10347.id35257.diff
Fri, Dec 20, 9:18 PM
F3506951: D10347.diff
Fri, Dec 20, 6:38 PM
Unknown Object (File)
Oct 31 2024, 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
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
No Lint Coverage
Unit
No Test Coverage

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