Move some extension methods into their respective class files
This commit is contained in:
@@ -25,4 +25,10 @@ namespace PluralKit.Core {
|
||||
|
||||
[JsonIgnore] public DateTimeZone Zone => DateTimeZoneProviders.Tzdb.GetZoneOrNull(UiTz);
|
||||
}
|
||||
|
||||
public static class PKSystemExt
|
||||
{
|
||||
public static string DescriptionFor(this PKSystem system, LookupContext ctx) =>
|
||||
system.DescriptionPrivacy.Get(ctx, system.Description);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user