Skip to content

Commit 3bd57f5

Browse files
committed
Updated user profile icon in the workspaces screen
1 parent 814b00b commit 3bd57f5

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

GoInfoGame/GoInfoGame/UI/InitialView/InitialView.swift

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,18 @@ struct InitialView: View {
1919
VStack {
2020
HStack {
2121
NavigationLink(destination: UserProfileView()) {
22-
Image(systemName: "person.crop.circle.fill")
22+
Image(systemName: "person.fill")
2323
.resizable()
24-
.frame(width: 27, height: 27)
25-
.padding([.leading], 18)
26-
.foregroundStyle(Asset.Colors.huskyPurple.swiftUIColor)
27-
24+
.padding(8)
25+
.foregroundStyle(Color.white)
26+
.background {
27+
LinearGradient(gradient: Gradient(colors: [Asset.Colors._8F57DEProfileIcon.swiftUIColor, Asset.Colors._2D0369ProfileIcon.swiftUIColor,]), startPoint: .top, endPoint: .bottom)
28+
}
29+
.frame(width: 34, height: 34)
30+
.clipShape(Circle())
2831
}
2932
Spacer()
3033
}
31-
.frame(maxWidth: .infinity, alignment: .leading)
3234

3335
Spacer()
3436

0 commit comments

Comments
 (0)