style(format): apply csharpier and markdownlint reflow
This commit is contained in:
@@ -14,7 +14,8 @@ public static class SenderNameFormatter
|
||||
string worldName,
|
||||
bool isHomeWorld,
|
||||
NameFormMode formMode,
|
||||
WorldSuffixMode suffixMode)
|
||||
WorldSuffixMode suffixMode
|
||||
)
|
||||
{
|
||||
var name = FormatName(fullName, formMode);
|
||||
|
||||
@@ -26,9 +27,7 @@ public static class SenderNameFormatter
|
||||
_ => !isHomeWorld,
|
||||
};
|
||||
|
||||
return showWorld && !string.IsNullOrEmpty(worldName)
|
||||
? $"{name}@{worldName}"
|
||||
: name;
|
||||
return showWorld && !string.IsNullOrEmpty(worldName) ? $"{name}@{worldName}" : name;
|
||||
}
|
||||
|
||||
private static string FormatName(string fullName, NameFormMode mode)
|
||||
|
||||
Reference in New Issue
Block a user