whitespace changes (#5750)

This commit is contained in:
Clint Rutkas
2020-08-06 20:38:49 -07:00
committed by GitHub
parent b815718c26
commit 26bf05dd7e
16 changed files with 37 additions and 23 deletions

View File

@@ -27,6 +27,7 @@ namespace PowerLauncher.Storage
years += 1;
return $"about {years} {(years == 1 ? "year" : "years")} ago";
}
if (span.Days > 30)
{
int months = (span.Days / 30);
@@ -34,6 +35,7 @@ namespace PowerLauncher.Storage
months += 1;
return $"about {months} {(months == 1 ? "month" : "months")} ago";
}
if (span.Days > 0)
return $"about {span.Days} {(span.Days == 1 ? "day" : "days")} ago";
if (span.Hours > 0)

View File

@@ -43,7 +43,6 @@ namespace PowerLauncher.Storage
SubTitle = result.SubTitle
};
records[result.OriginQuery.RawQuery] = record;
}
public void Load(Dictionary<string, Record> dictionary)

View File

@@ -43,6 +43,7 @@ namespace PowerLauncher.Storage
{
return value;
}
return 0;
}
}