mirror of
https://github.com/lumaa-dev/BubbleApp.git
synced 2024-12-11 08:57:58 +01:00
19 lines
451 B
Swift
19 lines
451 B
Swift
//Made by Lumaa
|
|
|
|
import SwiftUI
|
|
|
|
extension View {
|
|
func listThreaded(tint: Color = Color(uiColor: UIColor.label)) -> some View {
|
|
self
|
|
.scrollContentBackground(.hidden)
|
|
.tint(tint)
|
|
.background(Color.appBackground)
|
|
.listStyle(.inset)
|
|
}
|
|
func listRowThreaded() -> some View {
|
|
self
|
|
.listRowSeparator(.hidden)
|
|
.listRowBackground(Color.appBackground)
|
|
}
|
|
}
|