44 lines
1.1 KiB
Swift
44 lines
1.1 KiB
Swift
//
|
|
// LicensesView.swift
|
|
// SelfieCam
|
|
//
|
|
// Created by Matt Bruce on 1/4/26.
|
|
//
|
|
|
|
import SwiftUI
|
|
import Bedrock
|
|
|
|
// MARK: - App Licenses
|
|
|
|
extension License {
|
|
/// All open source licenses used in SelfieCam
|
|
static let appLicenses: [License] = [
|
|
License(
|
|
name: "MijickCamera",
|
|
url: "https://github.com/Mijick/Camera",
|
|
licenseType: "Apache 2.0 License",
|
|
description: "Camera framework for SwiftUI. Created by Tomasz Kurylik at Mijick."
|
|
),
|
|
License(
|
|
name: "RevenueCat",
|
|
url: "https://github.com/RevenueCat/purchases-ios",
|
|
licenseType: "MIT License",
|
|
description: "In-app subscriptions made easy."
|
|
)
|
|
]
|
|
}
|
|
|
|
// MARK: - App Licenses View
|
|
|
|
struct AppLicensesView: View {
|
|
var body: some View {
|
|
LicensesView(
|
|
licenses: License.appLicenses,
|
|
backgroundColor: AppSurface.overlay,
|
|
cardBackgroundColor: AppSurface.card,
|
|
cardBorderColor: AppBorder.subtle,
|
|
accentColor: AppAccent.primary
|
|
)
|
|
}
|
|
}
|