fix: remove duplicate isSideStore checks with a StoreApp extension

This commit is contained in:
naturecodevoid
2023-04-09 13:51:54 -07:00
parent 62a478277e
commit 5b752cf26e
6 changed files with 24 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ struct WriteAppReviewView: View {
List {
// App Information
HStack {
AppIconView(iconUrl: storeApp.iconURL, isSideStore: storeApp.bundleIdentifier == Bundle.Info.appbundleIdentifier, size: 50)
AppIconView(iconUrl: storeApp.iconURL, isSideStore: storeApp.isSideStore size: 50)
VStack(alignment: .leading) {
Text(storeApp.name)
.bold()