Finish add support for tvOS
This commit is contained in:
@@ -68,7 +68,7 @@ public struct ActiveDashboardView: View {
|
||||
}
|
||||
#endif
|
||||
}
|
||||
.onChange(of: selectedProfileID) { _ in
|
||||
.onChangeCompat(of: selectedProfileID) {
|
||||
reasserting = true
|
||||
Task.detached {
|
||||
await switchProfile(selectedProfileID!)
|
||||
|
||||
@@ -46,7 +46,7 @@ public struct ExtensionStatusView: View {
|
||||
Rectangle()
|
||||
.fill(.clear)
|
||||
.frame(height: 1)
|
||||
.onChange(of: geometry.size.width) { newValue in
|
||||
.onChangeCompat(of: geometry.size.width) { newValue in
|
||||
updateColumnCount(newValue)
|
||||
}
|
||||
.onAppear {
|
||||
|
||||
Reference in New Issue
Block a user