refactor: List background color

This commit is contained in:
mrFq1
2023-05-18 14:50:13 +08:00
parent 7fb4694f23
commit e23239ecd9
3 changed files with 5 additions and 20 deletions

View File

@@ -5,6 +5,7 @@
//
import SwiftUI
import Introspect
struct APISettingView: View {
@State var baseURL: String = ""
@@ -61,6 +62,10 @@ struct APISettingView: View {
}
}
}
.introspectTableView {
$0.backgroundColor = NSColor.clear
$0.enclosingScrollView?.drawsBackground = false
}
}
.padding(.top)
.fixedSize(horizontal: true, vertical: false)