IceCubesApp/Packages/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
..
.swiftpm/xcode/xcshareddata/xcschemes Generic Statuses list 2022-12-19 07:17:01 +01:00
Sources/Status Add flair to status action buttons (#1005) 2023-02-22 12:48:51 +01:00
.gitignore Account statuses and more packages 2022-12-18 20:30:19 +01:00
Package.swift Composer: Internalize TextView + fix a lot of lag when editing 2023-02-06 12:24:57 +01:00
README.md Account statuses and more packages 2022-12-18 20:30:19 +01:00

Status

A description of this package.