[HTML] Prettier attachment preview for non-media files (#448)

This commit is contained in:
Lucas LaBuff
2020-12-07 09:20:38 -05:00
committed by GitHub
parent 5a62ce6af9
commit 286981d9f8
5 changed files with 74 additions and 4 deletions

View File

@@ -52,7 +52,7 @@ namespace DiscordChatExporter.Domain.Discord.Models.Common
if (Math.Abs(TotalKiloBytes) >= 1)
return "KB";
return "B";
return "bytes";
}
public override string ToString() => $"{GetLargestWholeNumberValue():0.##} {GetLargestWholeNumberSymbol()}";