Skip to content

Commit bc2b312

Browse files
committed
fix: grey color now can display more obvious
1 parent cccb828 commit bc2b312

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

app/lib/pages/apk_picker_page.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import 'package:common/model/file_type.dart';
22
import 'package:device_apps/device_apps.dart';
33
import 'package:fluent_ui/fluent_ui.dart';
4+
import 'package:localsend_app/config/theme.dart';
45
import 'package:localsend_app/gen/strings.g.dart';
56
import 'package:localsend_app/pages/base/base_normal_page.dart';
67
import 'package:localsend_app/provider/apk_provider.dart';
@@ -237,7 +238,7 @@ class _ApkPickerPageState extends State<ApkPickerPage> with Refena {
237238
: FluentIcons.checkbox_composite,
238239
color: _selectedApps.contains(app)
239240
? FluentTheme.of(context).iconTheme.color
240-
: Colors.grey,
241+
: FluentTheme.of(context).autoGrey,
241242
)
242243
],
243244
),

app/lib/widget/dialogs/favorite_dialog.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import 'package:common/isolate.dart';
22
import 'package:fluent_ui/fluent_ui.dart';
3+
import 'package:localsend_app/config/theme.dart';
34
import 'package:localsend_app/gen/strings.g.dart';
45
import 'package:localsend_app/model/persistence/favorite_device.dart';
56
import 'package:localsend_app/provider/favorites_provider.dart';
@@ -66,7 +67,7 @@ class _FavoritesDialogState extends State<FavoritesDialog> with Refena {
6667
if (favorites.isEmpty)
6768
Text(
6869
t.dialogs.favoriteDialog.noFavorites,
69-
style: const TextStyle(color: Colors.grey),
70+
style: TextStyle(color: FluentTheme.of(context).autoGrey),
7071
),
7172
for (final favorite in favorites)
7273
CardInkWell(

app/lib/widget/list_tile/device_list_tile.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import 'package:common/model/device.dart';
22
import 'package:fluent_ui/fluent_ui.dart';
3+
import 'package:localsend_app/config/theme.dart';
34
import 'package:localsend_app/util/device_type_ext.dart';
45
import 'package:localsend_app/util/ip_helper.dart';
56
import 'package:localsend_app/widget/custom_progress_bar.dart';
@@ -46,7 +47,7 @@ class DeviceListTile extends StatelessWidget {
4647
spacing: 10,
4748
children: [
4849
if (info != null)
49-
Text(info!, style: const TextStyle(color: Colors.grey))
50+
Text(info!, style: TextStyle(color: FluentTheme.of(context).autoGrey))
5051
else if (progress != null)
5152
Padding(
5253
padding: const EdgeInsets.symmetric(vertical: 5),

0 commit comments

Comments
 (0)