1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-14 14:20:32 +05:30

Merge pull request from stonerl/videoactions-color

Color changes to VideoActions
This commit is contained in:
Arkadiusz Fal 2024-08-27 22:26:56 +02:00 committed by GitHub
commit 6bdfb7368c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -198,10 +198,10 @@ struct VideoActions: View {
VStack(spacing: 3) {
Image(systemName: systemImage)
.frame(width: 20, height: 20)
.foregroundColor(active ? Color("AppRedColor") : .accentColor)
.foregroundColor(active ? Color("AppRedColor") : .primary)
if playerActionsButtonLabelStyle.text {
Text(name.localized())
.foregroundColor(active ? Color("AppRedColor") : .secondary)
.foregroundColor(active ? Color("AppRedColor") : .primary)
.font(.caption2)
.allowsTightening(true)
.lineLimit(1)