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:
@@ -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