about: don't show micro version when it's '.0'
This commit is contained in:
parent
52a86730b7
commit
872788fb35
|
@ -36,7 +36,12 @@ namespace SparkleShare {
|
|||
|
||||
public string RunningVersion {
|
||||
get {
|
||||
return SparkleLib.SparkleBackend.Version;
|
||||
string version = SparkleLib.SparkleBackend.Version;
|
||||
|
||||
if (version.EndsWith (".0"))
|
||||
version = version.Substring (0, version.Length - 2);
|
||||
|
||||
return version;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue