mod: 修改图标为线性

This commit is contained in:
orz12
2024-02-29 20:53:01 +08:00
parent aac564da4d
commit 8273ab4f99

View File

@@ -1,3 +1,4 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart'; import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
@@ -43,7 +44,7 @@ class VideoPopupMenu extends StatelessWidget {
height: menuItemHeight, height: menuItemHeight,
child: const Row( child: const Row(
children: [ children: [
Icon(Icons.watch_later_outlined, size: 16), Icon(CupertinoIcons.clock, size: 16),
SizedBox(width: 6), SizedBox(width: 6),
Text('稍后再看', style: TextStyle(fontSize: 13)) Text('稍后再看', style: TextStyle(fontSize: 13))
], ],
@@ -90,7 +91,7 @@ class VideoPopupMenu extends StatelessWidget {
height: menuItemHeight, height: menuItemHeight,
child: Row( child: Row(
children: [ children: [
const Icon(Icons.block, size: 16), const Icon(CupertinoIcons.nosign, size: 16),
const SizedBox(width: 6), const SizedBox(width: 6),
Text('拉黑:${videoItem.owner.name}', Text('拉黑:${videoItem.owner.name}',
style: const TextStyle(fontSize: 13)) style: const TextStyle(fontSize: 13))
@@ -122,12 +123,12 @@ class VideoPopupMenu extends StatelessWidget {
children: [ children: [
Icon( Icon(
MineController.anonymity MineController.anonymity
? Icons.visibility_outlined ? CupertinoIcons.shield_slash
: Icons.visibility_off_outlined, : CupertinoIcons.checkmark_shield,
size: 16, size: 16,
), ),
const SizedBox(width: 6), const SizedBox(width: 6),
Text(MineController.anonymity ? '退出无痕模式' : '进入无痕模式', Text("${MineController.anonymity ? '退出' : '进入'}无痕模式",
style: const TextStyle(fontSize: 13)) style: const TextStyle(fontSize: 13))
], ],
), ),