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