mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Merge branch 'Seanstoppable-fixfullycharged'
This commit is contained in:
commit
c6caffcdf8
@ -95,7 +95,7 @@ func (battery *Battery) formatRemaining(data string) string {
|
||||
r, _ := regexp.Compile(TimeRegExp)
|
||||
|
||||
result := r.FindString(data)
|
||||
if result == "" {
|
||||
if result == "" || result == "0:00" {
|
||||
result = "∞"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user