mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 08:42:21 +00:00
Address Stories review feedback
This commit is contained in:
1 parent
2edcd5bc69
commit
fec84dbf78
48 files changed
+783
-232
No files matched your search
@@ -4,6 +4,14 @@ const wantsStories = () => {
|
||||
return STORIES_PARAMS.some((p) => params.has(p));
|
||||
};
|
||||
|
||||
/** Stop microphone use on entry while letting an active typed turn finish. */
|
||||
export function stopVoiceForStories(session) {
|
||||
if (!session || session.adapter.getStartOptions?.()?.textOnly) return false;
|
||||
const wasActive = session.isActive();
|
||||
session.stop();
|
||||
return wasActive;
|
||||
}
|
||||
|
||||
/**
|
||||
* Stories, loaded on first use. The controller, the story catalog, the
|
||||
* screens and their styles are separate chunks, fetched when the person
|
||||
|
||||
Reference in new issue
Block a user