Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(mobile): keep dictation active across navigation #14923

ClosedBil0000(GitHub profile, opens in a new tab)wants to merge 8 commits intomain fromrefs/pull/14923/headopened View on GitHub

Showing 15 changed files with 147 additions and 20 deletions (loading 12).

x
0 of 15 viewed, 15 left
35 additions and 20 deletionsapps/mobile/src/features/settings/SettingsScheduledTasksRouteScreen.tsxModified
View file
@@ -15,7 +15,6 @@
import {
useCallback,
useEffect,
- useId,
useLayoutEffect,
useMemo,
useRef,
@@ -63,6 +62,8 @@
} from "./scheduledTaskDraft";
import { settingsTargetsForProject } from "./settings-environment-filter.logic";
import { useScheduledTaskEditor } from "./scheduled-task-editor";
+import { scheduledTaskEditorSessionAtom } from "./scheduled-task-editor-state";
+import { appAtomRegistry } from "../../state/atom-registry";
import {
formatNextScheduledTaskRun,
formatScheduledTaskInterval,
@@ -372,14 +373,21 @@
​
function SettingsScheduledTaskEditorScreen({ title }: { readonly title: string }) {
- const { editor, setEditor, hasChanges, draftForEnvironment } = useScheduledTaskEditor();
+ const {
+ editor,
+ voiceOwnerKey,
+ readEditor,
+ setEditor,
+ startEditor,