diff --git a/ios/App/shortcuts/shortcuts.swift b/ios/App/shortcuts/shortcuts.swift index 62c4f23888..705dbc99be 100644 --- a/ios/App/shortcuts/shortcuts.swift +++ b/ios/App/shortcuts/shortcuts.swift @@ -150,8 +150,9 @@ struct Shortcuts: Widget { } } -#Preview(as: .systemSmall) { - Shortcuts() -} timeline: { - SimpleEntry(date: .now) +struct Shortcuts_Previews: PreviewProvider { + static var previews: some View { + ShortcutsEntryView(entry: SimpleEntry(date: .now)) + .previewContext(WidgetPreviewContext(family: .systemSmall)) + } }