mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-03-28 04:25:28 +00:00
Merge
This commit is contained in:
parent
4d37a9d300
commit
b0c8864840
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue