Swap position of "Low" & "High" values in "Visual quality" setting

This commit is contained in:
redphx 2024-03-20 17:27:03 +07:00
parent b11a89037a
commit 0d80edb7cb

View File

@ -7155,13 +7155,14 @@ class Preferences {
} }
} }
if (hasLowCodec) { if (hasHighCodec) {
if (!hasNormalCodec && !hasHighCodec) { if (!hasLowCodec && !hasNormalCodec) {
options.default = `${t('visual-quality-low')} (${t('default')})`; options.default = `${t('visual-quality-high')} (${t('default')})`;
} else { } else {
options.low = t('visual-quality-low'); options.high = t('visual-quality-high');
} }
} }
if (hasNormalCodec) { if (hasNormalCodec) {
if (!hasLowCodec && !hasHighCodec) { if (!hasLowCodec && !hasHighCodec) {
options.default = `${t('visual-quality-normal')} (${t('default')})`; options.default = `${t('visual-quality-normal')} (${t('default')})`;
@ -7169,11 +7170,12 @@ class Preferences {
options.normal = t('visual-quality-normal'); options.normal = t('visual-quality-normal');
} }
} }
if (hasHighCodec) {
if (!hasLowCodec && !hasNormalCodec) { if (hasLowCodec) {
options.default = `${t('visual-quality-high')} (${t('default')})`; if (!hasNormalCodec && !hasHighCodec) {
options.default = `${t('visual-quality-low')} (${t('default')})`;
} else { } else {
options.high = t('visual-quality-high'); options.low = t('visual-quality-low');
} }
} }