Updated RecipeView

This commit is contained in:
VincentMeilinger
2024-03-01 14:17:24 +01:00
parent d3e0366ce6
commit 744ea76a34
41 changed files with 588 additions and 383 deletions

View File

@@ -0,0 +1,17 @@
//
// BottomClipper.swift
// Nextcloud Cookbook iOS Client
//
// Created by Vincent Meilinger on 27.02.24.
//
import Foundation
import SwiftUI
struct BottomClipper: Shape {
let bottom: CGFloat
func path(in rect: CGRect) -> Path {
Rectangle().path(in: CGRect(x: 0, y: rect.size.height - bottom, width: rect.size.width, height: bottom))
}
}