mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: 图标统一,提示词调整
This commit is contained in:
@@ -92,11 +92,13 @@ class MineController extends GetxController {
|
||||
static onChangeAnonymity() {
|
||||
anonymity = !anonymity;
|
||||
SmartDialog.showToast(anonymity
|
||||
? '已进入全局无痕模式\n\n'
|
||||
'将模拟未登录用户搜索、观看视频或直播,不产生查询与播放记录\n\n'
|
||||
? '\n【已进入无痕模式】\n\n'
|
||||
'搜索、观看视频或直播均不携带Cookie与CSRF\n'
|
||||
'不产生查询或播放记录\n'
|
||||
'点赞等其它操作不受影响\n\n'
|
||||
'仅本次启动有效,可随时退出'
|
||||
: '已退出无痕模式');
|
||||
'仅本次启动有效,可随时退出\n\n'
|
||||
'*可在隐私设置了解更多\n'
|
||||
: '【已退出无痕模式】');
|
||||
}
|
||||
|
||||
onChangeTheme() {
|
||||
|
||||
@@ -44,14 +44,19 @@ class _MinePageState extends State<MinePage> {
|
||||
toolbarHeight: kTextTabBarHeight + 20,
|
||||
backgroundColor: Colors.transparent,
|
||||
centerTitle: false,
|
||||
title: const Text(
|
||||
'PLPL',
|
||||
style: TextStyle(
|
||||
height: 2.8,
|
||||
fontSize: 17,
|
||||
fontWeight: FontWeight.bold,
|
||||
fontFamily: 'Jura-Bold',
|
||||
),
|
||||
title: //logo
|
||||
Row(
|
||||
children: [
|
||||
Image.asset(
|
||||
'assets/images/logo/logo_android_2.png',
|
||||
width: 50,
|
||||
),
|
||||
const SizedBox(width: 5),
|
||||
Text(
|
||||
'PiliPala',
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
),
|
||||
],
|
||||
),
|
||||
actions: [
|
||||
IconButton(
|
||||
@@ -61,8 +66,8 @@ class _MinePageState extends State<MinePage> {
|
||||
},
|
||||
icon: Icon(
|
||||
MineController.anonymity
|
||||
? Icons.visibility_off_outlined
|
||||
: Icons.visibility_outlined,
|
||||
? Icons.visibility_off
|
||||
: Icons.visibility,
|
||||
size: 22,
|
||||
),
|
||||
),
|
||||
@@ -70,15 +75,15 @@ class _MinePageState extends State<MinePage> {
|
||||
onPressed: () => mineController.onChangeTheme(),
|
||||
icon: Icon(
|
||||
mineController.themeType.value == ThemeType.dark
|
||||
? CupertinoIcons.sun_max
|
||||
: CupertinoIcons.moon,
|
||||
? Icons.light_mode
|
||||
: Icons.mode_night,
|
||||
size: 22,
|
||||
),
|
||||
),
|
||||
IconButton(
|
||||
onPressed: () => Get.toNamed('/setting'),
|
||||
icon: const Icon(
|
||||
CupertinoIcons.slider_horizontal_3,
|
||||
Icons.settings,
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
|
||||
Reference in New Issue
Block a user