From 8a9d4b8daa81f6c7a432662273ace589e0550978 Mon Sep 17 00:00:00 2001 From: CakeAndBanana Date: Mon, 29 Sep 2025 23:19:02 +0200 Subject: [PATCH] Added more byte options --- LightlessSync/UI/UISharedService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LightlessSync/UI/UISharedService.cs b/LightlessSync/UI/UISharedService.cs index 7fdf97f..9a935ba 100644 --- a/LightlessSync/UI/UISharedService.cs +++ b/LightlessSync/UI/UISharedService.cs @@ -173,7 +173,7 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase public static string ByteToString(long bytes, bool addSuffix = true) { - string[] suffix = { "B", "KB", "MB", "GB", "TB" }; + string[] suffix = { "B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"}; int i = 0; double dblSByte = bytes;