Update hint text

This commit is contained in:
Caten
2025-09-10 20:22:41 +08:00
parent 8f26ed77e7
commit ed3ec63212
4 changed files with 12 additions and 3 deletions

View File

@@ -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),