Skip to content

Commit 742a76a

Browse files
weitzhandlerglennawatson
authored andcommitted
fix: Uno ReactivePage has no parameterless constructor (#2117)
1 parent d4cc757 commit 742a76a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/ReactiveUI/Platforms/windows-common/ReactivePage.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@ class ReactivePage<TViewModel> :
105105
new PropertyMetadata(null));
106106

107107
#if HAS_UNO
108+
/// <summary>
109+
/// Initializes a new instance of the <see cref="ReactivePage{TViewModel}"/> class.
110+
/// </summary>
111+
protected ReactivePage()
112+
{
113+
// needed so the others are optional.
114+
}
115+
108116
#if ANDROID
109117
/// <summary>
110118
/// Initializes a new instance of the <see cref="ReactivePage{TViewModel}"/> class.

0 commit comments

Comments
 (0)