Add draft indicator, filter drafts, show issue count
This commit is contained in:
15
CHDataManagement/Views/Generic/DraftIndicator.swift
Normal file
15
CHDataManagement/Views/Generic/DraftIndicator.swift
Normal file
@ -0,0 +1,15 @@
|
||||
import SwiftUI
|
||||
|
||||
struct DraftIndicator: View {
|
||||
|
||||
var body: some View {
|
||||
Text("Draft")
|
||||
.foregroundStyle(.white)
|
||||
.padding(.vertical, 2)
|
||||
.padding(.horizontal, 5)
|
||||
.background(
|
||||
RoundedRectangle(cornerRadius: 5, style: .circular)
|
||||
.foregroundStyle(Color.gray)
|
||||
)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user