Skip to content

Commit a915a24

Browse files
committed
Update demo
1 parent 42db2eb commit a915a24

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Demo/Sources/iOS/Pulse_Demo_iOSApp.swift

+5-2
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,17 @@ struct PulseDemo_iOS: App {
1414
var body: some Scene {
1515
WindowGroup {
1616
NavigationView {
17-
ConsoleView(store: .shared)
17+
ConsoleView(store: .demo)
1818
}
1919
}
2020
}
2121
}
2222

2323
private final class AppViewModel: ObservableObject {
2424
init() {
25+
// - warning: If you are testing it, make sure to switch the demo to use
26+
// the shared store.
27+
2528
// NetworkLogger.enableProxy()
2629

2730
DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(3)) {
@@ -32,7 +35,7 @@ private final class AppViewModel: ObservableObject {
3235

3336

3437
private func sendRequest() {
35-
testSwiftConcurrency()
38+
// testSwiftConcurrency()
3639

3740
// let task = session.dataTask(with: URLRequest(url: URL(string: "https://github.com/kean/Nuke/archive/refs/tags/11.0.0.zip")!))
3841
// task.resume()

0 commit comments

Comments
 (0)