improves the git feature by adding a conflict status
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import SwiftUI
|
||||
|
||||
/// The Git view's Lucide icons, drawn on Lucide's 24-unit grid at stroke 1.75.
|
||||
/// The Git view's icons, drawn on Lucide's 24-unit grid at stroke 1.75; the flag is a plain pennant.
|
||||
/// Icons with arcs Lucide draws as curves (cloud, eraser) use the nearest SF Symbol.
|
||||
enum GitIcon {
|
||||
case gitBranch, cloud, arrowDownToLine, arrowUpFromLine, minimize, chevronDown, chevronRight, eraser, check
|
||||
case gitBranch, cloud, arrowDownToLine, arrowUpFromLine, minimize, chevronDown, chevronRight, eraser, check, flag
|
||||
|
||||
fileprivate var symbol: String? {
|
||||
switch self {
|
||||
@@ -46,6 +46,9 @@ enum GitIcon {
|
||||
line((9, 18), (15, 12), (9, 6))
|
||||
case .check:
|
||||
line((20, 6), (9, 17), (4, 12))
|
||||
case .flag:
|
||||
line((5, 22), (5, 3))
|
||||
line((5, 4), (19, 9), (5, 14))
|
||||
case .cloud, .eraser:
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user