From 6be01698eb4eb879b48bd4ed78b6fcb4db7fecfa Mon Sep 17 00:00:00 2001 From: Ladislas de Toldi Date: Mon, 11 Dec 2023 10:37:28 +0100 Subject: [PATCH] :fire: (DesignKit): Remove unused ContentView --- Modules/DesignKit/Sources/ContentView.swift | 44 --------------------- 1 file changed, 44 deletions(-) delete mode 100644 Modules/DesignKit/Sources/ContentView.swift diff --git a/Modules/DesignKit/Sources/ContentView.swift b/Modules/DesignKit/Sources/ContentView.swift deleted file mode 100644 index 30ec75552e..0000000000 --- a/Modules/DesignKit/Sources/ContentView.swift +++ /dev/null @@ -1,44 +0,0 @@ -// Leka - iOS Monorepo -// Copyright 2023 APF France handicap -// SPDX-License-Identifier: Apache-2.0 - -import SwiftUI - -// MARK: - Hello - -public struct Hello: View { - // MARK: Lifecycle - - public init(_ name: String, in color: Color) { - self.name = name - self.color = color - } - - // MARK: Public - - public var body: some View { - VStack { - Text("Hello, \(self.name)!") - .padding(50) - .background(self.color) - - Image(uiImage: DesignKitAsset.Assets.lekaLogo.image) - .resizable() - .scaledToFit() - .frame(width: 200.0) - } - } - - // MARK: Internal - - let name: String - let color: Color -} - -// MARK: - ContentView_Previews - -struct ContentView_Previews: PreviewProvider { - static var previews: some View { - Hello("World", in: .pink) - } -}