Skip to content

Commit c0abfab

Browse files
committed
update linter
1 parent e641cdd commit c0abfab

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

lib/ui/epub_viewer.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import 'dart:io';
33

44
// Flutter imports:
55
import 'package:flutter/material.dart';
6-
import 'package:flutter/services.dart';
76

87
// Package imports:
98
import 'package:epub_view/epub_view.dart';

lib/ui/onboarding/onboarding_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ class _OnboardingPageState extends ConsumerState<OnboardingPage> {
267267
title: const Text("Enable Auto-Updates"),
268268
subtitle: const Text(
269269
"Not recommended if you installed via F-Droid (F-Droid handles updates)."),
270-
activeColor: Theme.of(context).colorScheme.secondary,
270+
activeThumbColor: Theme.of(context).colorScheme.secondary,
271271
activeTrackColor:
272272
Theme.of(context).colorScheme.secondary.withOpacity(0.5),
273273
inactiveThumbColor: Colors.grey,

lib/ui/settings_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ class SettingsPage extends ConsumerWidget {
395395
child: SwitchListTile(
396396
value: value,
397397
onChanged: onChanged,
398-
activeColor: Theme.of(context).colorScheme.secondary,
398+
activeThumbColor: Theme.of(context).colorScheme.secondary,
399399
title: Text(title, style: const TextStyle(fontWeight: FontWeight.w600)),
400400
subtitle: subtitle != null
401401
? Text(subtitle, style: const TextStyle(fontSize: 12))

0 commit comments

Comments
 (0)