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

@@ -20,7 +20,7 @@ struct AppRowView: View {
var body: some View {
HStack(alignment: .center, spacing: 12) {
AppIconView(iconUrl: storeApp?.iconURL, isSideStore: storeApp?.bundleIdentifier == Bundle.Info.appbundleIdentifier)
AppIconView(iconUrl: storeApp?.iconURL, isSideStore: storeApp?.isSideStore)
VStack(alignment: .leading, spacing: 2) {
Text(app.name)