From d32077258228afee9137b612ca7ad40456afd8c2 Mon Sep 17 00:00:00 2001 From: reionwong Date: Mon, 22 Nov 2021 11:47:59 +0800 Subject: [PATCH] Fix volume max value --- src/qml/Sound/Main.qml | 6 +++--- translations/zh_CN.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/qml/Sound/Main.qml b/src/qml/Sound/Main.qml index 82d9efd..4469c6d 100644 --- a/src/qml/Sound/Main.qml +++ b/src/qml/Sound/Main.qml @@ -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 diff --git a/translations/zh_CN.ts b/translations/zh_CN.ts index 94ac37b..d943ace 100644 --- a/translations/zh_CN.ts +++ b/translations/zh_CN.ts @@ -814,7 +814,7 @@ Ethernet - 以太网络 + 有线网络