Skip to content

Commit 21ae89b

Browse files
committed
fix: missing public constructor
1 parent 7927a95 commit 21ae89b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/ElectronNET.API/API/Entities/TitleBarOverlay.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ public class TitleBarOverlay
44
{
55
private readonly bool? _value;
66

7-
private TitleBarOverlay(bool value) => _value = value;
7+
public TitleBarOverlay()
8+
{
9+
}
10+
11+
private TitleBarOverlay(bool value) : this() => _value = value;
812

913
public string Color { get; set; }
1014

@@ -15,4 +19,4 @@ public class TitleBarOverlay
1519
public static implicit operator bool?(TitleBarOverlay titleBarOverlay) => titleBarOverlay?._value;
1620

1721
public static implicit operator TitleBarOverlay(bool value) => new(value);
18-
}
22+
}

0 commit comments

Comments
 (0)