mirror of
https://github.com/yJason/ClashX-Dashboard.git
synced 2026-03-01 00:35:19 +08:00
misc: Update SwiftUIIntrospect
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
import SwiftUIIntrospect
|
||||
|
||||
struct ProvidersView: View {
|
||||
@ObservedObject var providerStorage = DBProviderStorage()
|
||||
@@ -71,7 +72,7 @@ struct ProvidersView: View {
|
||||
}
|
||||
}
|
||||
}
|
||||
.introspectTableView {
|
||||
.introspect(.table, on: .macOS(.v12, .v13, .v14)) {
|
||||
$0.refusesFirstResponder = true
|
||||
$0.doubleAction = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user