Merge pull request #759 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) { VStack(spacing: 3) {
Image(systemName: systemImage) Image(systemName: systemImage)
.frame(width: 20, height: 20) .frame(width: 20, height: 20)
.foregroundColor(active ? Color("AppRedColor") : .accentColor) .foregroundColor(active ? Color("AppRedColor") : .primary)
if playerActionsButtonLabelStyle.text { if playerActionsButtonLabelStyle.text {
Text(name.localized()) Text(name.localized())
.foregroundColor(active ? Color("AppRedColor") : .secondary) .foregroundColor(active ? Color("AppRedColor") : .primary)
.font(.caption2) .font(.caption2)
.allowsTightening(true) .allowsTightening(true)
.lineLimit(1) .lineLimit(1)