update profile bar button item image

This commit is contained in:
Satindar Dhillon 2022-02-23 13:34:18 -08:00
parent 9b04a162c7
commit 44b6236c83
4 changed files with 23 additions and 1 deletions

View file

@ -15,5 +15,6 @@ extension Image {
static var homeTab: Image { Image("_homeTab", bundle: .module) }
static var homeTabSelected: Image { Image("_homeTabSelected", bundle: .module) }
static var profileTab: Image { Image("_profileTab", bundle: .module) }
static var profile: Image { Image("_profile", bundle: .module) }
static var profileTabSelected: Image { Image("_profileTabSelected", bundle: .module) }
}

View file

@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "user-circle-gear.svg",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"template-rendering-intent" : "template"
}
}

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="192" height="192" fill="#000000" viewBox="0 0 256 256"><rect width="256" height="256" fill="none"></rect><circle cx="128" cy="120" r="40" fill="none" stroke="#000000" stroke-miterlimit="10" stroke-width="16"></circle><path d="M63.8,199.4a72,72,0,0,1,128.4,0" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></path><circle cx="200" cy="56" r="16" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></circle><line x1="200" y1="40" x2="200" y2="28" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="186.1" y1="48" x2="175.8" y2="42" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="186.1" y1="64" x2="175.8" y2="70" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="200" y1="72" x2="200" y2="84" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="213.9" y1="64" x2="224.2" y2="70" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><line x1="213.9" y1="48" x2="224.2" y2="42" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></line><path d="M223.3,116.5A87.7,87.7,0,0,1,224,128a96,96,0,1,1-96-96,87,87,0,0,1,8.9.4" fill="none" stroke="#000000" stroke-linecap="round" stroke-linejoin="round" stroke-width="16"></path></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -266,7 +266,12 @@ public struct HomeFeedView: View {
destination: {
ProfileContainerView(viewModel: profileContainerViewModel)
},
label: { Image.profileTab.padding() }
label: {
Image.profile
.resizable()
.frame(width: 26, height: 26)
.padding()
}
)
}
}