mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 07:43:42 +08:00
fix
This commit is contained in:
parent
ed12eaf875
commit
f194dfc383
@ -76,8 +76,12 @@ Future<String?> showInputDialogs(BuildContext context,
|
|||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
if (content.isNotEmpty) Text(content),
|
if (content.isNotEmpty)
|
||||||
const SizedBox(height: 6),
|
Text(
|
||||||
|
content,
|
||||||
|
style: TextStyle(color: Colors.white.withOpacity(.6)),
|
||||||
|
),
|
||||||
|
const SizedBox(height: 8),
|
||||||
TextFormBox(
|
TextFormBox(
|
||||||
initialValue: initialValue,
|
initialValue: initialValue,
|
||||||
onChanged: (str) {
|
onChanged: (str) {
|
||||||
|
@ -19,7 +19,7 @@ class SettingUI extends BaseUI<SettingUIModel> {
|
|||||||
onTap: model.onResetAutoLogin),
|
onTap: model.onResetAutoLogin),
|
||||||
const SizedBox(height: 12),
|
const SizedBox(height: 12),
|
||||||
makeSettingsItem(const Icon(FontAwesomeIcons.microchip),
|
makeSettingsItem(const Icon(FontAwesomeIcons.microchip),
|
||||||
"启动游戏时忽略能效核心( 适用于Intel 12th+ 处理器 )",
|
"启动游戏时忽略能效核心( 适用于Intel 12th+ 处理器 ) [实验性功能,请随时反馈]",
|
||||||
subTitle:
|
subTitle:
|
||||||
"已设置的核心数量:${model.inputGameLaunchECore} ( 设置需要忽略的处理器的能效心数量,盒子将在使用启动游戏功能时为您修改游戏所运行的CPU参数,当为 0 时不启用此功能 )",
|
"已设置的核心数量:${model.inputGameLaunchECore} ( 设置需要忽略的处理器的能效心数量,盒子将在使用启动游戏功能时为您修改游戏所运行的CPU参数,当为 0 时不启用此功能 )",
|
||||||
onTap: model.setGameLaunchECore),
|
onTap: model.setGameLaunchECore),
|
||||||
|
@ -56,7 +56,7 @@ class SettingUIModel extends BaseUIModel {
|
|||||||
userBox.get("gameLaunch_eCore_count", defaultValue: "0");
|
userBox.get("gameLaunch_eCore_count", defaultValue: "0");
|
||||||
final input = await showInputDialogs(context!,
|
final input = await showInputDialogs(context!,
|
||||||
title: "请输入要忽略的 CPU 核心数",
|
title: "请输入要忽略的 CPU 核心数",
|
||||||
content: "",
|
content: "tip:您的设备拥有几个能效核心就输入几,非大小核设备请保持0",
|
||||||
initialValue: defaultInput,
|
initialValue: defaultInput,
|
||||||
inputFormatters: [FilteringTextInputFormatter.digitsOnly]);
|
inputFormatters: [FilteringTextInputFormatter.digitsOnly]);
|
||||||
if (input == null) return;
|
if (input == null) return;
|
||||||
|
Loading…
Reference in New Issue
Block a user