Skip to content

Commit

Permalink
fix null check (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
tibel committed Nov 19, 2015
1 parent 9b908a8 commit 45f3d36
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nuget/Caliburn.Light.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>Caliburn.Light</id>
<title>Caliburn.Light</title>
<version>3.0.3</version>
<version>3.0.4</version>
<authors>Thomas Ibel</authors>
<description>The magic-free Caliburn.Light, a powerful framework designed for building applications across current XAML platforms.</description>
<language>en-US</language>
Expand Down
2 changes: 1 addition & 1 deletion src/Caliburn.Xaml.UAP/CaliburnApplication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ protected void DisplayRootView(Type viewType, object paramter = null)

var window = Window.Current;

if (!ReferenceEquals(window.Content, null))
if (ReferenceEquals(window.Content, null))
window.Content = RootFrame;

window.Activate();
Expand Down
2 changes: 1 addition & 1 deletion src/Caliburn.Xaml.UAP/Services/FrameAdapter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ public bool ResumeState()

var window = Window.Current;

if (!ReferenceEquals(window.Content, null))
if (ReferenceEquals(window.Content, null))
window.Content = _frame;

window.Activate();
Expand Down
2 changes: 1 addition & 1 deletion src/GlobalAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
#endif

[assembly: AssemblyVersion("3.0.0.0")]
[assembly: AssemblyFileVersion("3.0.3.0")]
[assembly: AssemblyFileVersion("3.0.4.0")]

0 comments on commit 45f3d36

Please sign in to comment.