瀏覽代碼

Update descriptions to reflect Apple's style pattern

Lucas Brown 5 年之前
父節點
當前提交
dd67e229ec

+ 1 - 1
Sources/SwiftUIVisualEffects/View Extensions/View+blurEffectStyle.swift

@@ -6,7 +6,7 @@
 import SwiftUI
 
 public extension View {
-	/// The intensity of a blur effect.
+	/// Sets the style for blur effects within this view.
 	func blurEffectStyle(_ style: UIBlurEffect.Style) -> some View {
 		environment(\.blurEffectStyle, style)
 	}

+ 1 - 1
Sources/SwiftUIVisualEffects/View Extensions/View+vibrancyEffectStyle.swift

@@ -6,7 +6,7 @@
 import SwiftUI
 
 public extension View {
-	/// The style that defines what level of vibrancy to apply to content.
+	/// Sets the style for vibrancy effects within this view.
 	func vibrancyEffectStyle(_ style: UIVibrancyEffectStyle) -> some View {
 		environment(\.vibrancyEffectStyle, style)
 	}