This commit is contained in:
Thomas Ricouard 2024-07-10 16:18:15 +02:00
parent 4d37a9d300
commit b0c8864840

View file

@ -122,7 +122,9 @@ import SwiftUI
} else if userMentionned { } else if userMentionned {
theme.secondaryBackgroundColor theme.secondaryBackgroundColor
} else { } else {
if userFollowedTag != nil { if status.account.isPremiumAccount {
makeDecorativeGradient(startColor: .yellow, endColor: theme.primaryBackgroundColor)
} else if userFollowedTag != nil {
makeDecorativeGradient(startColor: .teal, endColor: theme.primaryBackgroundColor) makeDecorativeGradient(startColor: .teal, endColor: theme.primaryBackgroundColor)
} else if status.reblog != nil { } else if status.reblog != nil {
makeDecorativeGradient(startColor: theme.tintColor, endColor: theme.primaryBackgroundColor) makeDecorativeGradient(startColor: theme.tintColor, endColor: theme.primaryBackgroundColor)
@ -139,7 +141,7 @@ import SwiftUI
} else if userMentionned { } else if userMentionned {
theme.secondaryBackgroundColor theme.secondaryBackgroundColor
} else if status.account.isPremiumAccount { } else if status.account.isPremiumAccount {
.yellow.opacity(0.4) Color.yellow.opacity(0.4)
} else { } else {
theme.primaryBackgroundColor theme.primaryBackgroundColor
} }