Skip to content

Commit

Permalink
Add ContentListView
Browse files Browse the repository at this point in the history
  • Loading branch information
winebarrel committed Nov 30, 2024
1 parent a4fed2e commit 3fc4059
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
10 changes: 10 additions & 0 deletions Pulse/ContentListView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import SwiftUI

struct ContentListView: View {
let pulls: PullRequests

var body: some View {
// TODO:

Check warning on line 7 in Pulse/ContentListView.swift

View workflow job for this annotation

GitHub Actions / Lint

Todo Violation: TODOs should be resolved (todo)
Text("ContentListView")
}
}
8 changes: 4 additions & 4 deletions Pulse/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ struct ContentView: View {
VStack {
TabView(selection: $selection) {
// TODO:

Check warning on line 16 in Pulse/ContentView.swift

View workflow job for this annotation

GitHub Actions / Lint

Todo Violation: TODOs should be resolved (todo)
PullRequestListView()
ContentListView(pulls: pullRequest.settled)
.tabItem {
Text("Settled (0)")
Text("Settled (\(pullRequest.settled.count))")
}
.tag(Tab.settled)
// TODO:

Check warning on line 22 in Pulse/ContentView.swift

View workflow job for this annotation

GitHub Actions / Lint

Todo Violation: TODOs should be resolved (todo)
PullRequestListView()
ContentListView(pulls: pullRequest.pending)
.tabItem {
Text("Pending (0)")
Text("Pending (\(pullRequest.pending.count))")
}
.tag(Tab.pending)
}
Expand Down
8 changes: 0 additions & 8 deletions Pulse/PullRequestListView.swift

This file was deleted.

0 comments on commit 3fc4059

Please sign in to comment.