Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
De-duplicate the logic for counting attachments (#42596)
Summary: De-duplicate the logic for counting attachments. This is a minor improvement in the context of my multi-PR work on react-native-community/discussions-and-proposals#695. ## Changelog: <!-- Help reviewers and the release process by writing your own changelog entry. Pick one each for the category and type tags: [ANDROID|GENERAL|IOS|INTERNAL] [BREAKING|ADDED|CHANGED|DEPRECATED|REMOVED|FIXED|SECURITY] - Message For more details, see: https://reactnative.dev/contributing/changelogs-in-pull-requests --> [INTERNAL] [CHANGE] - De-duplicate the logic for counting attachments Pull Request resolved: #42596 Reviewed By: rshest Differential Revision: D53917281 Pulled By: cipolleschi fbshipit-source-id: cdb9bc834bddd7deffc60f33578464733982fedf
- Loading branch information