Fix CI for real this time
This commit is contained in:
parent
347174d4ae
commit
3fd49b2efd
1 changed files with 1 additions and 3 deletions
|
|
@ -299,9 +299,7 @@ impl VolumeRestrictions {
|
||||||
impl VolumeInfo {
|
impl VolumeInfo {
|
||||||
/// Get an icon name for the current volume status
|
/// Get an icon name for the current volume status
|
||||||
pub fn icon_name(&self) -> &'static str {
|
pub fn icon_name(&self) -> &'static str {
|
||||||
if self.muted {
|
if self.muted || self.percent == 0 {
|
||||||
"audio-volume-muted-symbolic"
|
|
||||||
} else if self.percent == 0 {
|
|
||||||
"audio-volume-muted-symbolic"
|
"audio-volume-muted-symbolic"
|
||||||
} else if self.percent < 33 {
|
} else if self.percent < 33 {
|
||||||
"audio-volume-low-symbolic"
|
"audio-volume-low-symbolic"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue