mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2025-01-11 14:14:09 +01:00
Update package + Switch to SwiftUIIntrospect for the Timeline
This commit is contained in:
parent
47cf849f21
commit
185f4b60e2
@ -14,8 +14,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/divadretlaw/EmojiText",
|
||||
"state" : {
|
||||
"revision" : "b5b0a30933a6dcb6601ad3625690a823fa3f6965",
|
||||
"version" : "2.6.0"
|
||||
"revision" : "a4ddf5077c241170e8ac0d3a9480c511e27c1ae9",
|
||||
"version" : "2.8.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -24,7 +24,7 @@
|
||||
"location" : "https://github.com/evgenyneu/keychain-swift",
|
||||
"state" : {
|
||||
"branch" : "master",
|
||||
"revision" : "e43f9b99b172ae6a7253047f8ba95c7a0b05b99f"
|
||||
"revision" : "c1fde55798b164cad44b5e23cfa2f0f1ebcd76af"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -41,8 +41,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/kean/Nuke",
|
||||
"state" : {
|
||||
"revision" : "6241e100294a2aa70d1811641585ab7da780bd0f",
|
||||
"version" : "12.0.0"
|
||||
"revision" : "c3864b8882bc69f5edfe5c70e18786c91d228b28",
|
||||
"version" : "12.1.3"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -50,8 +50,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/RevenueCat/purchases-ios.git",
|
||||
"state" : {
|
||||
"revision" : "b5562ed1409c47b20c74da3f2a1c2d603ca37508",
|
||||
"version" : "4.17.7"
|
||||
"revision" : "8d16e02c96efbcf58eaf7eef2e595942d935f572",
|
||||
"version" : "4.25.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -68,8 +68,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/scinfu/SwiftSoup.git",
|
||||
"state" : {
|
||||
"revision" : "f707b8680cddb96dc1855632340a572ef37bbb98",
|
||||
"version" : "2.5.3"
|
||||
"revision" : "8b6cf29eead8841a1fa7822481cb3af4ddaadba6",
|
||||
"version" : "2.6.1"
|
||||
}
|
||||
},
|
||||
{
|
||||
@ -77,8 +77,8 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/siteline/SwiftUI-Introspect.git",
|
||||
"state" : {
|
||||
"revision" : "f2616860a41f9d9932da412a8978fec79c06fe24",
|
||||
"version" : "0.1.4"
|
||||
"revision" : "730ab9e6cdbb3122ad88277b295c4cecd284a311",
|
||||
"version" : "0.9.1"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -21,7 +21,7 @@ let package = Package(
|
||||
.package(name: "Env", path: "../Env"),
|
||||
.package(name: "Status", path: "../Status"),
|
||||
.package(name: "DesignSystem", path: "../DesignSystem"),
|
||||
.package(url: "https://github.com/siteline/SwiftUI-Introspect.git", from: "0.1.4"),
|
||||
.package(url: "https://github.com/siteline/SwiftUI-Introspect.git", from: "0.9.1"),
|
||||
.package(url: "https://github.com/mergesort/Bodega", from: "2.0.2"),
|
||||
],
|
||||
targets: [
|
||||
@ -33,7 +33,7 @@ let package = Package(
|
||||
.product(name: "Env", package: "Env"),
|
||||
.product(name: "Status", package: "Status"),
|
||||
.product(name: "DesignSystem", package: "DesignSystem"),
|
||||
.product(name: "Introspect", package: "SwiftUI-Introspect"),
|
||||
.product(name: "SwiftUIIntrospect", package: "SwiftUI-Introspect"),
|
||||
.product(name: "Bodega", package: "Bodega"),
|
||||
]
|
||||
),
|
||||
|
@ -1,6 +1,6 @@
|
||||
import DesignSystem
|
||||
import Env
|
||||
import Introspect
|
||||
import SwiftUIIntrospect
|
||||
import Models
|
||||
import Network
|
||||
import Shimmer
|
||||
@ -56,7 +56,7 @@ public struct TimelineView: View {
|
||||
.listStyle(.plain)
|
||||
.scrollContentBackground(.hidden)
|
||||
.background(theme.primaryBackgroundColor)
|
||||
.introspect(selector: TargetViewSelector.ancestorOrSiblingContaining) { (collectionView: UICollectionView) in
|
||||
.introspect(.list, on: .iOS(.v16, .v17)) { (collectionView: UICollectionView) in
|
||||
self.collectionView = collectionView
|
||||
self.prefetcher.viewModel = viewModel
|
||||
collectionView.isPrefetchingEnabled = true
|
||||
|
Loading…
Reference in New Issue
Block a user