hotfix(ai-scribe): Fix text selection handler correctly gated by AI Scribe availability.
This commit is contained in:
@@ -268,9 +268,7 @@ class ComposerView extends GetWidget<ComposerController> {
|
||||
),
|
||||
onInitialContentLoadComplete: controller.onInitialContentLoadCompleteWeb,
|
||||
onKeyDownEditorAction: controller.onKeyDownEditorAction,
|
||||
onTextSelectionChanged: controller.isAIScribeAvailable
|
||||
? controller.handleTextSelection
|
||||
: null,
|
||||
onTextSelectionChanged: controller.textSelectionHandler,
|
||||
));
|
||||
}
|
||||
),
|
||||
@@ -514,9 +512,7 @@ class ComposerView extends GetWidget<ComposerController> {
|
||||
),
|
||||
onInitialContentLoadComplete: controller.onInitialContentLoadCompleteWeb,
|
||||
onKeyDownEditorAction: controller.onKeyDownEditorAction,
|
||||
onTextSelectionChanged: controller.isAIScribeAvailable
|
||||
? controller.handleTextSelection
|
||||
: null,
|
||||
onTextSelectionChanged: controller.textSelectionHandler,
|
||||
);
|
||||
});
|
||||
}
|
||||
@@ -794,9 +790,7 @@ class ComposerView extends GetWidget<ComposerController> {
|
||||
),
|
||||
onInitialContentLoadComplete: controller.onInitialContentLoadCompleteWeb,
|
||||
onKeyDownEditorAction: controller.onKeyDownEditorAction,
|
||||
onTextSelectionChanged: controller.isAIScribeAvailable
|
||||
? controller.handleTextSelection
|
||||
: null,
|
||||
onTextSelectionChanged: controller.textSelectionHandler,
|
||||
));
|
||||
}
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user