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