forked from Blendman974/faceclaw
Add symbolic math and graphing tools, dual-microphone audio processing, live captions, translation, speaker diarization, sentiment analysis, and searchable conversation history. Extend Android voice and BLE support for microphone control, recording, transcoding, and on-device speaker identification, with coverage for calculator and microphone workflows.
16 lines
513 B
TypeScript
16 lines
513 B
TypeScript
import { NavigatedData, Page } from "@nativescript/core";
|
|
|
|
import { SpeakersViewModel } from "./speakers-view-model";
|
|
|
|
export function navigatingTo(args: NavigatedData): void {
|
|
const page = args.object as Page;
|
|
let model = page.bindingContext as SpeakersViewModel | undefined;
|
|
if (!model) {
|
|
model = new SpeakersViewModel();
|
|
page.bindingContext = model;
|
|
}
|
|
// Reload every time so edits made from a conversation page (re-diarize,
|
|
// split, reassign) show up on the way back.
|
|
model.reload();
|
|
}
|