mirror of
https://github.com/morgan9e/gnome-shell-extension-freon
synced 2026-04-14 16:34:21 +09:00
fix double voltages minus, resolve #110
This commit is contained in:
@@ -406,7 +406,7 @@ var FreonMenuButton = new Lang.Class({
|
|||||||
sensors.push({
|
sensors.push({
|
||||||
type : 'voltage',
|
type : 'voltage',
|
||||||
label:voltage.label,
|
label:voltage.label,
|
||||||
value:_("%s%.2fV").format(((voltage.volt >= 0) ? '+' : '-'),
|
value:_("%s%.2fV").format(((voltage.volt >= 0) ? '+' : ''),
|
||||||
voltage.volt)});
|
voltage.volt)});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user