Bubble/Threaded/Components/ListStyle.swift
2024-01-06 02:50:29 +01:00

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)
}
}