Fix volume max value

pull/55/head
reionwong 4 years ago
parent af0feedd0b
commit d320772582

@ -42,7 +42,7 @@ ItemPage {
function microphoneIcon(value) {
if (value <= 25)
return "audio-input-microphone-low-symbolic"
else if (value <= 50)
else if (value <= 70)
return "audio-input-microphone-medium-symbolic"
else
return "audio-input-microphone-high-symbolic"
@ -137,7 +137,7 @@ ItemPage {
Layout.fillWidth: true
value: Volume
from: PulseAudio.MinimalVolume
to: PulseAudio.MaximalVolume
to: PulseAudio.NormalVolume
enabled: VolumeWritable
visible: HasVolume
@ -211,7 +211,7 @@ ItemPage {
Layout.fillWidth: true
value: Volume
from: PulseAudio.MinimalVolume
to: PulseAudio.MaximalVolume
to: PulseAudio.NormalVolume
enabled: VolumeWritable
visible: HasVolume

@ -814,7 +814,7 @@
<message>
<location filename="../src/qml/SideBar.qml" line="64"/>
<source>Ethernet</source>
<translation></translation>
<translation>线</translation>
</message>
<message>
<location filename="../src/qml/SideBar.qml" line="100"/>

Loading…
Cancel
Save