[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
committed by Magesh K
parent cccbe3a80b
commit 142b9c6810
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: {