Some changes to incognito for debug stuff

This commit is contained in:
RisaDev
2024-01-08 05:31:25 +03:00
parent 33b51b1756
commit 2b8db843a1
4 changed files with 42 additions and 14 deletions

View File

@@ -12,7 +12,7 @@ namespace CustomizePlus.Core.Extensions
if (str.IsNullOrWhitespace())
return str;
#if DEBUG
#if !INCOGNIFY_STRINGS
return str;
#endif
@@ -21,12 +21,12 @@ namespace CustomizePlus.Core.Extensions
var split = str.Split(' ');
if (split.Length > 2)
return $"{str[..2]}...";
return $"{str[..5]}...";
return $"{split[0][0]}.{split[1][0]}";
}
return $"{str[..2]}...";
return $"{str[..5]}...";
}
}
}