Add profile sharing

This commit is contained in:
世界
2023-07-30 14:13:57 +08:00
parent 27ffee06e2
commit 2ca6c515b9
25 changed files with 675 additions and 123 deletions
@@ -30,7 +30,7 @@ public struct DashboardView: View {
#endif
}
#if os(macOS)
.onChange(of: controlActiveState, perform: { newValue in
.onChangeCompat(of: controlActiveState) { newValue in
if newValue != .inactive {
if Variant.useSystemExtension {
if !isLoading {
@@ -38,7 +38,7 @@ public struct DashboardView: View {
}
}
}
})
}
#endif
.navigationTitle("Dashboard")
}