mirror of
https://github.com/Cateners/tiny_computer.git
synced 2026-05-20 16:35:47 +08:00
Update hint text
This commit is contained in:
@@ -110,5 +110,6 @@
|
||||
"updateRequest": "Please try to use the latest version. Visit the project address to check for the latest version.",
|
||||
"avncScreenResize": "Adaptive Screen Size",
|
||||
"avncResizeFactor": "Screen Scaling Ratio",
|
||||
"avncResizeFactorValue": "Current scaling is"
|
||||
"avncResizeFactorValue": "Current scaling is",
|
||||
"recommendHidpi": "Recommended to enable HiDPI Support simultaneously"
|
||||
}
|
||||
@@ -110,5 +110,6 @@
|
||||
"updateRequest": "请尽量使用最新版本。前往项目地址可查看最新版本。",
|
||||
"avncScreenResize": "自适应屏幕尺寸",
|
||||
"avncResizeFactor": "屏幕缩放比",
|
||||
"avncResizeFactorValue": "当前缩放为"
|
||||
"avncResizeFactorValue": "当前缩放为",
|
||||
"recommendHidpi": "推荐同步开启高分辨率支持"
|
||||
}
|
||||
@@ -110,5 +110,6 @@
|
||||
"updateRequest": "請盡量使用最新版本。前往專案網址查看最新版本。",
|
||||
"avncScreenResize": "自適應螢幕尺寸",
|
||||
"avncResizeFactor": "螢幕縮放比",
|
||||
"avncResizeFactorValue": "目前縮放為"
|
||||
"avncResizeFactorValue": "目前縮放為",
|
||||
"recommendHidpi": "推薦同步開啟高解析度支援"
|
||||
}
|
||||
|
||||
@@ -463,6 +463,12 @@ sed -i -E "s@^(VNC_RESOLUTION)=.*@\\1=${w}x${h}@" \$(command -v startvnc)""");
|
||||
if (!value && Util.getGlobal("dri3")) {
|
||||
G.prefs.setBool("dri3", false);
|
||||
}
|
||||
if (value) {
|
||||
ScaffoldMessenger.of(context).hideCurrentSnackBar();
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(content: Text(AppLocalizations.of(context)!.recommendHidpi))
|
||||
);
|
||||
}
|
||||
setState(() {});
|
||||
},),
|
||||
const SizedBox.square(dimension: 16),
|
||||
|
||||
Reference in New Issue
Block a user