do not show text when not SOLID compressed

This commit is contained in:
Paddy Xu
2017-05-01 15:00:09 +03:00
parent bcec7ff51a
commit 35a7ad04a7

View File

@@ -55,10 +55,10 @@ namespace QuickLook.Plugin.ArchiveViewer
sizeU += e.Value.Size;
});
var s = _solid ? "solid" : "not solid";
var s = _solid ? " solid," : "";
archiveCount.Content =
$"{_type} archive, {s}, {folder - 1} folders and {files} files"; // do not count root node
$"{_type} archive,{s} {folder - 1} folders and {files} files"; // do not count root node
archiveSizeC.Content = $"Compressed size {_totalZippedSize.ToPrettySize(2)}";
archiveSizeU.Content = $"Uncompressed size {sizeU.ToPrettySize(2)}";
}