mirror of
https://github.com/lux-tel/session-ios.git
synced 2026-10-30 20:38:32 +00:00
28 lines
832 B
Swift
28 lines
832 B
Swift
// Copyright © 2025 Rangeproof Pty Ltd. All rights reserved.
|
|
|
|
import SwiftUI
|
|
|
|
public struct Seperator_SwiftUI: View {
|
|
|
|
public let title: String
|
|
|
|
public var body: some View {
|
|
HStack(spacing: 0) {
|
|
Line(color: .textSecondary, lineWidth: Values.separatorThickness)
|
|
|
|
Text(title)
|
|
.font(.Body.smallRegular)
|
|
.foregroundColor(themeColor: .textSecondary)
|
|
.fixedSize()
|
|
.padding(.horizontal, 30)
|
|
.padding(.vertical, 6)
|
|
.background(
|
|
Capsule()
|
|
.stroke(themeColor: .textSecondary, lineWidth: Values.separatorThickness)
|
|
)
|
|
|
|
Line(color: .textSecondary, lineWidth: Values.separatorThickness)
|
|
}
|
|
}
|
|
}
|