Fastest and only macOS Dictation app with on-device STT and custom trained AI enhancement model. Windows, iOS testflight! Android, Linux waitlist open! A local Wispr Flow alternative. Follow https://x.com/fluidvoiceapp for more
fix(theme): restore the ready border on compact buttons
altic-dev00ce5b617eb4
diff --git a/Sources/Fluid/Theme/NativeButtonStyles.swift b/Sources/Fluid/Theme/NativeButtonStyles.swiftindex 192e542d..c3af6e03 100644--- a/Sources/Fluid/Theme/NativeButtonStyles.swift+++ b/Sources/Fluid/Theme/NativeButtonStyles.swift@@ -283,6 +283,7 @@ struct SecondaryButtonStyle: ButtonStyle {// MARK: - Compact Buttonstruct CompactButtonStyle: ButtonStyle {+ @Environment(\.theme) private var themevar isReady: Bool = falsevar foreground: Color? = nilvar borderColor: Color? = nil@@ -290,8 +291,12 @@ struct CompactButtonStyle: ButtonStyle {var height: CGFloat = 34func makeBody(configuration: Configuration) -> some View {- FluidOutlinedButtonStyle(height: self.height, foreground: self.foreground, borderColor: self.borderColor)- .makeBody(configuration: configuration)+ FluidOutlinedButtonStyle(+ height: self.height,+ foreground: self.foreground,+ borderColor: self.borderColor ?? (self.isReady ? self.theme.palette.accent : nil)+ )+ .makeBody(configuration: configuration)}}