Skip to content

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

refactor(settings): move closing animation to Experimental

altic-dev2af379d7ac5d
diff --git a/Sources/Fluid/UI/SettingsView.swift b/Sources/Fluid/UI/SettingsView.swift
index c83b4299..67b3937c 100644
--- a/Sources/Fluid/UI/SettingsView.swift
+++ b/Sources/Fluid/UI/SettingsView.swift
@@ -1362,10 +1362,6 @@ struct SettingsView: View {
.font(self.theme.typography.bodyStrong)
.padding(.bottom, 4)
- self.overlayClosingAnimationSetting
-
- Divider().padding(.vertical, 8)
-
// Overlay Position
HStack {
VStack(alignment: .leading, spacing: 2) {
@@ -1564,6 +1560,10 @@ struct SettingsView: View {
Divider().padding(.vertical, 4)
+ self.overlayClosingAnimationSetting
+
+ Divider().padding(.vertical, 4)
+
self.settingsToggleRow(
title: "Show Performance in History",
description: "Display transcription time, cleanup time, and Fluid Intelligence speed.",
@@ -2282,16 +2282,11 @@ private extension SettingsView {
private extension SettingsView {
var overlayClosingAnimationSetting: some View {
- Toggle(isOn: self.$settings.overlayClosingAnimationEnabled) {
- VStack(alignment: .leading, spacing: 2) {
- Text("Animate overlay closing")
- .font(self.theme.typography.bodyStrong)
- Text("Off closes immediately. Turn on to try the closing transition.")
- .font(self.theme.typography.bodySmall)
- .foregroundStyle(self.settingsSecondaryText)
- }
- }
- .toggleStyle(.switch)
+ self.settingsToggleRow(
+ title: "Animate overlay closing",
+ description: "Off closes immediately. Turn on to try the closing transition.",
+ isOn: self.$settings.overlayClosingAnimationEnabled
+ )
}
var overlayMaterialSettings: some View {