hotfix(ai-scribe): Fix text selection handler correctly gated by AI Scribe availability.
This commit is contained in:
+4
@@ -147,4 +147,8 @@ extension HandleAiScribeInComposerExtension on ComposerController {
|
||||
editorTextSelection.value = null;
|
||||
}
|
||||
}
|
||||
|
||||
void Function(TextSelectionData? textSelectionData)?
|
||||
get textSelectionHandler =>
|
||||
isAIScribeAvailable ? handleTextSelection : null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user