Files
VirtualBuddy/VirtualUI/Source/Components/LiquidGlassCompat/PreviewWallpaper.swift
Guilherme Rambo e19a74866c Liquid glass adoption (#677)
* Raise deployment target to macOS 14, bump version

* Integrate Liquid Glass compatibility components

* Fix onChange(of:) deprecation warnings

* Update project settings

* Improve styling of setup and configuration UI components

* Fix fatal error in VMSavedStatesController.preview

* Tweak session UI

* Do not use prominent button style in VM configuration sheet so it matches overall setup wizard style

* Fix incorrectly sized buttons in grouped lists
2026-05-22 09:47:01 -03:00

10 lines
255 B
Swift

#if DEBUG
import SwiftUI
public extension View {
func previewWallpaper(scale: CGFloat = 1.0, overlay: () -> some View = { EmptyView() }) -> some View {
background(BlurHashFullBleedBackground(blurHash: .virtualBuddyBackground))
}
}
#endif