From 3218d95c26adababeceeeacdde9bff7f7ab389b9 Mon Sep 17 00:00:00 2001 From: xkeyC <3334969096@qq.com> Date: Wed, 22 Nov 2023 00:10:12 +0800 Subject: [PATCH] fix --- lib/ui/settings/settings_ui.dart | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/lib/ui/settings/settings_ui.dart b/lib/ui/settings/settings_ui.dart index 01d5383..14ad9c9 100644 --- a/lib/ui/settings/settings_ui.dart +++ b/lib/ui/settings/settings_ui.dart @@ -19,7 +19,7 @@ class SettingUI extends BaseUI { onTap: model.onResetAutoLogin), const SizedBox(height: 12), makeSettingsItem(const Icon(FontAwesomeIcons.microchip), - "启动游戏时忽略能效核心( 适用于Intel 12+ 处理器 )", + "启动游戏时忽略能效核心( 适用于Intel 12th+ 处理器 )", subTitle: "已设置的核心数量:${model.inputGameLaunchECore} ( 设置需要忽略的处理器的能效心数量,盒子将在使用启动游戏功能时为您修改游戏所运行的CPU参数,当为 0 时不启用此功能 )", onTap: model.setGameLaunchECore), @@ -30,20 +30,18 @@ class SettingUI extends BaseUI { subTitle: model.customLauncherPath != null ? "${model.customLauncherPath}" : "手动设置启动器位置,建议仅在无法自动扫描安装位置时使用", - onTap: model.setLauncherPath, - onDel: () { - model.delName("custom_launcher_path"); - }), + onTap: model.setLauncherPath, onDel: () { + model.delName("custom_launcher_path"); + }), const SizedBox(height: 12), makeSettingsItem( const Icon(FluentIcons.game), "设置游戏文件 (StarCitizen.exe)", subTitle: model.customGamePath != null ? "${model.customGamePath}" : "手动设置游戏安装位置,建议仅在无法自动扫描安装位置时使用", - onTap: model.setGamePath, - onDel: () { - model.delName("custom_game_path"); - }), + onTap: model.setGamePath, onDel: () { + model.delName("custom_game_path"); + }), ], ), );