mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-08-01 00:10:16 +08:00
@@ -109,9 +109,7 @@ class MineController extends GetxController {
|
||||
children: <Widget>[
|
||||
Row(
|
||||
children: <Widget>[
|
||||
Icon(
|
||||
MdiIcons.incognito,
|
||||
),
|
||||
const Icon(MdiIcons.incognito),
|
||||
const SizedBox(width: 10),
|
||||
Text('已进入无痕模式', style: theme.textTheme.titleMedium)
|
||||
],
|
||||
@@ -183,9 +181,7 @@ class MineController extends GetxController {
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
children: [
|
||||
Icon(
|
||||
MdiIcons.incognitoOff,
|
||||
),
|
||||
const Icon(MdiIcons.incognitoOff),
|
||||
const SizedBox(width: 10),
|
||||
Text('已退出无痕模式', style: theme.textTheme.titleMedium),
|
||||
],
|
||||
|
||||
@@ -45,12 +45,9 @@ class _MinePageState extends State<MinePage> {
|
||||
MineController.onChangeAnonymity(context);
|
||||
setState(() {});
|
||||
},
|
||||
icon: Icon(
|
||||
MineController.anonymity.value
|
||||
? MdiIcons.incognito
|
||||
: MdiIcons.incognitoOff,
|
||||
size: 24,
|
||||
),
|
||||
icon: MineController.anonymity.value
|
||||
? const Icon(MdiIcons.incognito, size: 24)
|
||||
: const Icon(MdiIcons.incognitoOff, size: 24),
|
||||
),
|
||||
Obx(
|
||||
() {
|
||||
@@ -62,10 +59,7 @@ class _MinePageState extends State<MinePage> {
|
||||
),
|
||||
tooltip: '切换至${_mineController.nextThemeType.description}主题',
|
||||
onPressed: _mineController.onChangeTheme,
|
||||
icon: Icon(
|
||||
_mineController.themeType.value.iconData,
|
||||
size: 24,
|
||||
),
|
||||
icon: _mineController.themeType.value.icon,
|
||||
);
|
||||
},
|
||||
),
|
||||
@@ -80,10 +74,7 @@ class _MinePageState extends State<MinePage> {
|
||||
Get.back(),
|
||||
Get.toNamed('/setting', preventDuplicates: false),
|
||||
},
|
||||
icon: Icon(
|
||||
MdiIcons.cogs,
|
||||
size: 24,
|
||||
),
|
||||
icon: const Icon(MdiIcons.cogs, size: 24),
|
||||
),
|
||||
const SizedBox(width: 10),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user