IceCubes/Packages/Status/Sources/Status
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
..
Detail Fix threading UI 2023-02-19 20:56:56 +01:00
Editor Fixes for composer and DM 2023-02-21 19:38:35 +01:00
Embed Swiftformat 2023-02-18 07:26:48 +01:00
Ext
History
LanguageDetection Swiftformat 2023-02-12 18:24:09 +01:00
List Swiftformat 2023-02-18 07:26:48 +01:00
Media Fixed compact layout for video tip when video autoplay is disabled (#989) 2023-02-22 07:06:01 +01:00
Poll Swiftformat 2023-02-21 07:23:42 +01:00
Row Add flair to status action buttons (#1005) 2023-02-22 12:48:51 +01:00