[mob][photos] Fix colors
This commit is contained in:
@@ -75,7 +75,6 @@ class _MLDebugSectionWidgetState extends State<MLDebugSectionWidget> {
|
||||
return const SizedBox.shrink();
|
||||
},
|
||||
),
|
||||
menuItemColor: colorScheme.fillFaint,
|
||||
trailingWidget: ToggleSwitchWidget(
|
||||
value: () => userRemoteFlagService
|
||||
.getCachedBoolValue(UserRemoteFlagService.mlEnabled),
|
||||
@@ -116,7 +115,6 @@ class _MLDebugSectionWidgetState extends State<MLDebugSectionWidget> {
|
||||
captionedTextWidget: const CaptionedTextWidget(
|
||||
title: "Remote fetch",
|
||||
),
|
||||
menuItemColor: colorScheme.fillFaint,
|
||||
trailingWidget: ToggleSwitchWidget(
|
||||
value: () => localSettings.remoteFetchEnabled,
|
||||
onChanged: () async {
|
||||
@@ -149,7 +147,6 @@ class _MLDebugSectionWidgetState extends State<MLDebugSectionWidget> {
|
||||
captionedTextWidget: const CaptionedTextWidget(
|
||||
title: "Local indexing",
|
||||
),
|
||||
menuItemColor: colorScheme.fillFaint,
|
||||
trailingWidget: ToggleSwitchWidget(
|
||||
value: () => localSettings.isMLIndexingEnabled,
|
||||
onChanged: () async {
|
||||
@@ -176,7 +173,6 @@ class _MLDebugSectionWidgetState extends State<MLDebugSectionWidget> {
|
||||
captionedTextWidget: const CaptionedTextWidget(
|
||||
title: "Auto indexing",
|
||||
),
|
||||
menuItemColor: colorScheme.fillFaint,
|
||||
trailingWidget: ToggleSwitchWidget(
|
||||
value: () => !MLService.instance.debugIndexingDisabled,
|
||||
onChanged: () async {
|
||||
|
||||
@@ -249,7 +249,6 @@ class _MachineLearningSettingsPageState
|
||||
}
|
||||
|
||||
Widget _getMlSettings(BuildContext context) {
|
||||
final colorScheme = getEnteColorScheme(context);
|
||||
final hasEnabled = userRemoteFlagService
|
||||
.getCachedBoolValue(UserRemoteFlagService.mlEnabled);
|
||||
if (!hasEnabled) {
|
||||
@@ -266,7 +265,6 @@ class _MachineLearningSettingsPageState
|
||||
captionedTextWidget: CaptionedTextWidget(
|
||||
title: S.of(context).enabled,
|
||||
),
|
||||
menuItemColor: colorScheme.fillFaint,
|
||||
trailingWidget: ToggleSwitchWidget(
|
||||
value: () => hasEnabled,
|
||||
onChanged: () async {
|
||||
@@ -281,7 +279,6 @@ class _MachineLearningSettingsPageState
|
||||
captionedTextWidget: CaptionedTextWidget(
|
||||
title: S.of(context).localIndexing,
|
||||
),
|
||||
menuItemColor: colorScheme.fillFaint,
|
||||
trailingWidget: ToggleSwitchWidget(
|
||||
value: () => localSettings.isMLIndexingEnabled,
|
||||
onChanged: () async {
|
||||
|
||||
Reference in New Issue
Block a user