use if else syntax the that's used project wide.
before:
after:
Differential D3997
[native] [refactor] [ENG-530] refactor container margin bottom if statement • benschac on May 10 2022, 10:36 AM. Authored by Tags None Referenced Files
Details use if else syntax the that's used project wide. before: after: Cluster margin should work as expected in chat view.
Diff Detail
Event Timeline
Comment Actions This is not only a refactor, but it also changes the logic. In the previous version, when item.endsCluster then marginBottom: 5 + clusterEndHeight, but now marginBottom: clusterEndHeight. Is that intentional? |
I actually think this is a bit too small. But that's what's in the design.
https://www.figma.com/file/L675ETKDnGaSwlpZAw4MIC/Mobile-App?node-id=351%3A455
@ashoat - I think 16px looks better.