IceCubes/Packages
Pascal Batty 50b8c93787
Add flair to status action buttons (#1005)
* Add flair to status action buttons

- makes tintColor viewModel independent in Action
- adds isOn function to Action
- moves actionButton to its own function for clarity (and help compilo)
- moves the counter outside the button
- creates StatusActionButtonStyle that defines how an action button behaves when tapped and toggled
- adds nested SparklesView that animates sparkles when the action button is tapped

Sidenote : couldn't get the "bouncy" scale effect I wanted. It wouldn't work on an iOS device, but did on the simulator.

* Fix private boost action icon regression

---------

Co-authored-by: Pascal Batty <pascal@zen.ly>
2023-02-22 12:48:51 +01:00
..
Account Fix #984 follow you being out of boundaries 2023-02-22 07:36:29 +01:00
AppAccount Swiftformat 2023-02-21 07:23:42 +01:00
Conversations Fixes for composer and DM 2023-02-21 19:38:35 +01:00
DesignSystem Added a new Medium media style 2023-02-22 07:26:32 +01:00
Env More accurate notifications badge 2023-02-22 12:14:57 +01:00
Explore
Lists
Models Remove capture mode for images (#996) 2023-02-22 07:09:56 +01:00
Network Singularize enum type names (#978) 2023-02-21 18:52:30 +01:00
Notifications
Status Add flair to status action buttons (#1005) 2023-02-22 12:48:51 +01:00
Timeline Swiftformat 2023-02-21 07:23:42 +01:00