Merge pull request #275 from dev-kittens/patch-2

Don't export `IsEmpty` in proxy tags
This commit is contained in:
Astrid 2021-01-14 03:20:21 +01:00 committed by GitHub
commit 1c4b972f65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ namespace PluralKit.Core
[JsonIgnore] public string ProxyString => $"{Prefix ?? ""}text{Suffix ?? ""}";
public bool IsEmpty => Prefix == null && Suffix == null;
[JsonIgnore] public bool IsEmpty => Prefix == null && Suffix == null;
public bool Equals(ProxyTag other) => Prefix == other.Prefix && Suffix == other.Suffix;
@ -31,4 +31,4 @@ namespace PluralKit.Core
}
}
}
}
}