TF-4141 should not show inkwell effect when user drag email into virtual folder
This commit is contained in:
@@ -341,6 +341,17 @@ class ManageAccountDashBoardController extends ReloadableController
|
||||
}
|
||||
}
|
||||
|
||||
bool get isAIScribeCapabilityAvailable {
|
||||
if (accountId.value != null && sessionCurrent != null) {
|
||||
return isAIScribeEndpointAvailable(
|
||||
session: sessionCurrent!,
|
||||
accountId: accountId.value!,
|
||||
);
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
void disableVacationResponder(
|
||||
VacationResponse vacation, {
|
||||
bool isAuto = false,
|
||||
|
||||
@@ -54,6 +54,10 @@ class PreferencesController extends BaseController {
|
||||
return _manageAccountDashBoardController.isAICapabilitySupported;
|
||||
}
|
||||
|
||||
bool get isAIScribeCapabilityAvailable {
|
||||
return _manageAccountDashBoardController.isAIScribeCapabilityAvailable;
|
||||
}
|
||||
|
||||
@override
|
||||
void onInit() {
|
||||
super.onInit();
|
||||
|
||||
@@ -77,7 +77,7 @@ class PreferencesView extends GetWidget<PreferencesController> with AppLoaderMix
|
||||
(type) =>
|
||||
type.isLocal &&
|
||||
(type != PreferencesOptionType.aiScribe ||
|
||||
controller.isAICapabilitySupported),
|
||||
controller.isAIScribeCapabilityAvailable),
|
||||
),
|
||||
if (settingOption != null &&
|
||||
controller.isAICapabilitySupported)
|
||||
|
||||
Reference in New Issue
Block a user