mirror of
git://jb55.com/damus
synced 2024-09-19 19:46:51 +00:00
SF Symbols in Profile View Should Respond to Dark Mode
This commit is contained in:
parent
1fd8be9e2b
commit
eb0b1061d8
@ -85,6 +85,7 @@ struct ProfileView: View {
|
||||
@StateObject var followers: FollowersModel
|
||||
|
||||
@Environment(\.dismiss) var dismiss
|
||||
@Environment(\.colorScheme) var colorScheme
|
||||
|
||||
//@EnvironmentObject var profile: ProfileModel
|
||||
|
||||
@ -94,7 +95,7 @@ struct ProfileView: View {
|
||||
}) {
|
||||
Image(systemName: "bolt.circle")
|
||||
.symbolRenderingMode(.palette)
|
||||
.foregroundStyle(.black, .gray)
|
||||
.foregroundStyle(colorScheme == .dark ? .white : .black, .gray)
|
||||
.font(.system(size: 27).weight(.thin))
|
||||
}
|
||||
}
|
||||
@ -107,7 +108,7 @@ struct ProfileView: View {
|
||||
Image(systemName: "bubble.left.circle")
|
||||
.symbolRenderingMode(.palette)
|
||||
.font(.system(size: 29).weight(.thin))
|
||||
.foregroundStyle(.black, .gray)
|
||||
.foregroundStyle(colorScheme == .dark ? .white : .black, .gray)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user