Skip to content

Commit

Permalink
Merge pull request #66 from DroidKaigi/MrSmart00/feature/lisence
Browse files Browse the repository at this point in the history
Add LicenseList library and connect the View
  • Loading branch information
MrSmart00 authored Jun 23, 2024
2 parents e797c0b + 6425a2b commit 870fcf0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"originHash" : "f8cbec89e72afd3e8305b98d43e58a9e69ba7ccc12f6d0cc55ff743ff5373f8f",
"originHash" : "65e8a333b2fc3bb01c35d55d51ff325d4b6f5bcabdf6053eaff0b18ce8ef5f61",
"pins" : [
{
"identity" : "abseil-cpp-binary",
Expand Down Expand Up @@ -100,6 +100,15 @@
"version" : "1.22.5"
}
},
{
"identity" : "licenselist",
"kind" : "remoteSourceControl",
"location" : "https://github.com/cybozu/LicenseList.git",
"state" : {
"revision" : "0828b88c1a6130d56ede2cc6c41ec50068a7ebd6",
"version" : "0.7.0"
}
},
{
"identity" : "nanopb",
"kind" : "remoteSourceControl",
Expand Down
4 changes: 3 additions & 1 deletion app-ios/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ let package = Package(
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-composable-architecture.git", exact: "1.10.2"),
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", exact: "10.26.0"),
.package(url: "https://github.com/cybozu/LicenseList.git", exact: "0.7.0"),
],
targets: [
.target(
Expand Down Expand Up @@ -98,7 +99,8 @@ let package = Package(
.target(
name: "AboutFeature",
dependencies: [
.tca
.tca,
.product(name: "LicenseList", package: "LicenseList")
]
),
.testTarget(
Expand Down
3 changes: 2 additions & 1 deletion app-ios/Sources/AboutFeature/AboutView.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import ComposableArchitecture
import SwiftUI
import LicenseList

@ViewAction(for: AboutReducer.self)
public struct AboutView: View {
Expand All @@ -25,7 +26,7 @@ public struct AboutView: View {
case .sponsors:
Text("Sponsors")
case .acknowledgements:
Text("Acknowledgements")
LicenseListView()
}
}
.sheet(item: $store.scope(state: \.destination?.codeOfConduct, action: \.presentation.codeOfConduct), content: { _ in
Expand Down

0 comments on commit 870fcf0

Please sign in to comment.