mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Misc optimization
This commit is contained in:
@@ -39,7 +39,7 @@ internal sealed class UserPrivacy {
|
||||
[JsonInclude]
|
||||
[JsonPropertyName("PrivacySettings")]
|
||||
[JsonRequired]
|
||||
internal PrivacySettings Settings { get; private init; } = new();
|
||||
internal PrivacySettings Settings { get; private init; } = null!;
|
||||
|
||||
// Constructed from privacy change request
|
||||
internal UserPrivacy(PrivacySettings settings, ECommentPermission commentPermission) {
|
||||
@@ -122,7 +122,7 @@ internal sealed class UserPrivacy {
|
||||
}
|
||||
|
||||
[JsonConstructor]
|
||||
internal PrivacySettings() { }
|
||||
private PrivacySettings() { }
|
||||
}
|
||||
|
||||
internal enum ECommentPermission : byte {
|
||||
|
||||
Reference in New Issue
Block a user