Skip to content

Commit

Permalink
Remove unused content
Browse files Browse the repository at this point in the history
  • Loading branch information
intitni committed Jun 28, 2024
1 parent 1926da3 commit 38de4bc
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 306 deletions.
2 changes: 1 addition & 1 deletion Pro
Submodule Pro updated from 436329 to 5e667a
2 changes: 0 additions & 2 deletions Tool/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ let package = Package(
),
.package(url: "https://github.com/apple/swift-syntax.git", exact: "509.0.2"),
.package(url: "https://github.com/GottaGetSwifty/CodableWrappers", from: "2.0.7"),
.package(url: "https://github.com/krzyzanowskim/STTextView", from: "0.8.21"),
// A fork of https://github.com/google/generative-ai-swift to support setting base url.
.package(
url: "https://github.com/intitni/generative-ai-swift",
Expand Down Expand Up @@ -219,7 +218,6 @@ let package = Package(
"Preferences",
"SuggestionModel",
"DebounceFunction",
.product(name: "STTextView", package: "STTextView"),
.product(name: "ComposableArchitecture", package: "swift-composable-architecture"),
]
),
Expand Down
2 changes: 1 addition & 1 deletion Tool/Sources/SharedUIComponents/AsyncCodeBlock.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public struct AsyncCodeBlock: View {
)
} else {
let intersection = NSIntersectionRange(targetRange, range)
guard !intersection.isEmpty else { return }
guard !(intersection.length == 0) else { return }
let rangeA = intersection
mutable.addAttribute(
.foregroundColor,
Expand Down
302 changes: 0 additions & 302 deletions Tool/Sources/SharedUIComponents/Experiment/NewCodeBlock.swift

This file was deleted.

0 comments on commit 38de4bc

Please sign in to comment.