HomePhabricator
Diffusion Comm 7d8837fc824e

[lib/native/web] introduce pinnedMessageCountText function

Description

[lib/native/web] introduce pinnedMessageCountText function

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

Reviewers: atul, rohan, kamil

Reviewed By: rohan

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D10347

Details

Provenance
ginsuAuthored on Dec 13 2023, 1:39 PM
Reviewer
rohan
Differential Revision
D10347: [lib/native/web] introduce pinnedMessageCountText function
Parents
rCOMM782f6c2294c8: [lib/web/native] rename toggle pin utils to be message pinning utils
Branches
Unknown
Tags
Unknown