mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
Place playback speed in Voice settings
Signed-off-by: John Tennant <jtennant@squareup.com>
This commit is contained in:
committed by
John Tennant
parent
d373e552f6
commit
681e959477
@@ -81,7 +81,6 @@ import { PreventSleepSettingsCard } from "./PreventSleepSettingsCard";
|
||||
import { AgentDefaultsSettingsCard } from "./AgentDefaultsSettingsCard";
|
||||
import { HostedCommunitiesSettingsCard } from "./HostedCommunitiesSettingsCard";
|
||||
import { SettingsOptionGroup, SettingsOptionRow } from "./SettingsOptionGroup";
|
||||
import { SpeechPlaybackSettings } from "./SpeechPlaybackSettings";
|
||||
import { ProfileSettingsCard } from "./ProfileSettingsCard";
|
||||
import { UpdateChecker } from "../UpdateChecker";
|
||||
import { SettingsSectionHeader } from "./SettingsSectionHeader";
|
||||
@@ -656,7 +655,6 @@ function ThemeSettingsCard() {
|
||||
</AnimatePresence>
|
||||
)}
|
||||
|
||||
<SpeechPlaybackSettings />
|
||||
<ThreadLayoutSetting />
|
||||
</section>
|
||||
);
|
||||
|
||||
@@ -48,7 +48,7 @@ export function SpeechPlaybackSettings() {
|
||||
};
|
||||
|
||||
return (
|
||||
<SettingsOptionGroup className="mt-8">
|
||||
<SettingsOptionGroup>
|
||||
<SettingsOptionRow className="items-start">
|
||||
<div className="min-w-0 flex-1">
|
||||
<div className="flex items-center justify-between gap-4">
|
||||
|
||||
@@ -14,6 +14,7 @@ import {
|
||||
import { Switch } from "@/shared/ui/switch";
|
||||
import { SettingsOptionGroup, SettingsOptionRow } from "./SettingsOptionGroup";
|
||||
import { SettingsSectionHeader } from "./SettingsSectionHeader";
|
||||
import { SpeechPlaybackSettings } from "./SpeechPlaybackSettings";
|
||||
import {
|
||||
selectedVoiceForBackend,
|
||||
type VoiceRegistryEntry,
|
||||
@@ -241,6 +242,8 @@ export function VoiceSettingsCard() {
|
||||
</SettingsOptionGroup>
|
||||
</div>
|
||||
|
||||
<SpeechPlaybackSettings />
|
||||
|
||||
{error && (
|
||||
<p
|
||||
className="text-sm text-destructive"
|
||||
|
||||
Reference in New Issue
Block a user