From b08d4dac0cf1329c4bad1ca7dd92cee8f1ba358f Mon Sep 17 00:00:00 2001 From: HojouFotytu <36724681+HojouFotytu@users.noreply.github.com> Date: Thu, 4 Mar 2021 01:35:11 +0900 Subject: [PATCH] code formatting --- Core/Helper/SystemHelper.cs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Core/Helper/SystemHelper.cs b/Core/Helper/SystemHelper.cs index 4b71bef..9687e39 100644 --- a/Core/Helper/SystemHelper.cs +++ b/Core/Helper/SystemHelper.cs @@ -472,21 +472,14 @@ namespace Core.Helper if (minutes > 0) { - if ( - (days == 0) || - (days > 0 && hours == 0) - ) + if (days == 0 || (days > 0 && hours == 0)) { result += " "; result += minutes.ToString() + "m"; } } - if ( - (days == 0 && hours == 0) || - (days > 0 && hours == 0 && minutes == 0) || - (days == 0 && hours > 0 && minutes == 0) - ) + if ((days == 0 && hours == 0) || (days > 0 && hours == 0 && minutes == 0) || (days == 0 && hours > 0 && minutes == 0)) { result += " "; result += seconds.ToString() + "s";