[AltWidget] Fixes compiling for iOS 16 and earlier

Also fixes unused variable warnings.
This commit is contained in:
Riley Testut
2023-12-07 16:39:13 -06:00
parent 090ab36ff3
commit 46a94a4c60
3 changed files with 5 additions and 1 deletions

View File

@@ -147,6 +147,7 @@ private struct ActiveAppsWidgetView: View
}
}
@available(iOS 17, *)
#Preview(as: .systemMedium) {
return ActiveAppsWidget()
} timeline: {