SettingsInfo: fix displaying of Graphics mode and Tails on clipboard output

This commit is contained in:
rating89us 2021-07-09 22:57:39 +02:00 committed by rating89us
parent 1c61ec2511
commit 3631482419

View file

@ -395,9 +395,9 @@ Rectangle {
data += "\nWallet log path: " + logger.logFilePath;
data += "\nWallet mode: " + walletModeString;
data += "\nGraphics mode: " + isOpenGL ? "OpenGL" : "Low graphics mode";
data += "\nGraphics mode: " + (isOpenGL ? "OpenGL" : "Low graphics mode");
if (isTails)
data += "\nTails: " + tailsUsePersistence ? "persistent" : "persistence disabled";
data += "\nTails: " + (tailsUsePersistence ? "persistent" : "persistence disabled");
console.log("Copied to clipboard");
clipboard.setText(data);