diff --git a/Nextcloud Cookbook iOS Client.xcodeproj/project.pbxproj b/Nextcloud Cookbook iOS Client.xcodeproj/project.pbxproj index cfc0862..fc88f53 100644 --- a/Nextcloud Cookbook iOS Client.xcodeproj/project.pbxproj +++ b/Nextcloud Cookbook iOS Client.xcodeproj/project.pbxproj @@ -738,7 +738,7 @@ LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; MACOSX_DEPLOYMENT_TARGET = 14.0; - MARKETING_VERSION = 1.8.0; + MARKETING_VERSION = 1.8.1; PRODUCT_BUNDLE_IDENTIFIER = "VincentMeilinger.Nextcloud-Cookbook-iOS-Client"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = auto; @@ -781,7 +781,7 @@ LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks"; "LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks"; MACOSX_DEPLOYMENT_TARGET = 14.0; - MARKETING_VERSION = 1.8.0; + MARKETING_VERSION = 1.8.1; PRODUCT_BUNDLE_IDENTIFIER = "VincentMeilinger.Nextcloud-Cookbook-iOS-Client"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = auto; diff --git a/Nextcloud Cookbook iOS Client.xcodeproj/project.xcworkspace/xcuserdata/vincie.xcuserdatad/UserInterfaceState.xcuserstate b/Nextcloud Cookbook iOS Client.xcodeproj/project.xcworkspace/xcuserdata/vincie.xcuserdatad/UserInterfaceState.xcuserstate index 9f85451..e13864d 100644 Binary files a/Nextcloud Cookbook iOS Client.xcodeproj/project.xcworkspace/xcuserdata/vincie.xcuserdatad/UserInterfaceState.xcuserstate and b/Nextcloud Cookbook iOS Client.xcodeproj/project.xcworkspace/xcuserdata/vincie.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Nextcloud Cookbook iOS Client/Views/MainView.swift b/Nextcloud Cookbook iOS Client/Views/MainView.swift index b148126..8d59eeb 100644 --- a/Nextcloud Cookbook iOS Client/Views/MainView.swift +++ b/Nextcloud Cookbook iOS Client/Views/MainView.swift @@ -40,7 +40,11 @@ struct MainView: View { GroceryListTabView() .environmentObject(groceryList) .tabItem { - Label("Grocery List", systemImage: "storefront") + if #available(iOS 17.0, *) { + Label("Grocery List", systemImage: "storefront") + } else { + Label("Grocery List", systemImage: "heart.text.square") + } } .tag(Tab.groceryList) } diff --git a/Nextcloud Cookbook iOS Client/Views/Recipes/RecipeDetailView.swift b/Nextcloud Cookbook iOS Client/Views/Recipes/RecipeDetailView.swift index 510255d..b99601f 100644 --- a/Nextcloud Cookbook iOS Client/Views/Recipes/RecipeDetailView.swift +++ b/Nextcloud Cookbook iOS Client/Views/Recipes/RecipeDetailView.swift @@ -377,7 +377,11 @@ fileprivate struct RecipeIngredientSection: View { } } } label: { - Image(systemName: "storefront") + if #available(iOS 17.0, *) { + Image(systemName: "storefront") + } else { + Image(systemName: "heart.text.square") + } } } @@ -423,8 +427,14 @@ fileprivate struct IngredientListItem: View { var body: some View { HStack(alignment: .top) { if groceryList.containsItem(at: recipeId, item: ingredient) { - Image(systemName: "storefront") - .foregroundStyle(Color.green) + if #available(iOS 17.0, *) { + Image(systemName: "storefront") + .foregroundStyle(Color.green) + } else { + Image(systemName: "heart.text.square") + .foregroundStyle(Color.green) + } + } else if isSelected { Image(systemName: "checkmark.circle") } else { diff --git a/Screenshots/.DS_Store b/Screenshots/.DS_Store new file mode 100644 index 0000000..2c0d1f3 Binary files /dev/null and b/Screenshots/.DS_Store differ diff --git a/Screenshots/iOS_cookbooks.png b/Screenshots/iOS_cookbooks.png index 9349a29..7690383 100644 Binary files a/Screenshots/iOS_cookbooks.png and b/Screenshots/iOS_cookbooks.png differ diff --git a/Screenshots/iOS_recipe_detail_1.png b/Screenshots/iOS_recipe_detail_1.png index 2293c06..f0ea936 100644 Binary files a/Screenshots/iOS_recipe_detail_1.png and b/Screenshots/iOS_recipe_detail_1.png differ diff --git a/Screenshots/iOS_recipes.png b/Screenshots/iOS_recipes.png index a93a6c9..1443f0a 100644 Binary files a/Screenshots/iOS_recipes.png and b/Screenshots/iOS_recipes.png differ diff --git a/Screenshots/iPadOS_cookbooks_recipes.png b/Screenshots/iPadOS_cookbooks_recipes.png index f9340a1..dc7c2f9 100644 Binary files a/Screenshots/iPadOS_cookbooks_recipes.png and b/Screenshots/iPadOS_cookbooks_recipes.png differ diff --git a/Screenshots/iPadOS_recipe_detail.png b/Screenshots/iPadOS_recipe_detail.png index f74ff7a..70b43d3 100644 Binary files a/Screenshots/iPadOS_recipe_detail.png and b/Screenshots/iPadOS_recipe_detail.png differ