Skip to content

Commit

Permalink
fix: Match ProtocolActivated property support with Launch
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Jan 23, 2021
1 parent ffb4795 commit b87dc94
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System;
using Uno;

namespace Windows.ApplicationModel.Activation
{
Expand Down Expand Up @@ -44,6 +45,18 @@ internal ProtocolActivatedEventArgs(Uri uri, ApplicationExecutionState previousE
/// Gets the Uniform Resource Identifier (URI) for which the app was activated.
/// </summary>
public Uri Uri { get; }

[NotImplemented]
public SplashScreen SplashScreen
{
get;
}

[NotImplemented]
public int CurrentlyShownApplicationViewId
{
get;
}
#endif
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public partial class ProtocolActivatedEventArgs : global::Windows.ApplicationMo
}
}
#endif
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
#if false || false || NET461 || false || __SKIA__ || __NETSTD_REFERENCE__ || false
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public global::Windows.ApplicationModel.Activation.SplashScreen SplashScreen
{
Expand All @@ -47,7 +47,7 @@ public partial class ProtocolActivatedEventArgs : global::Windows.ApplicationMo
}
}
#endif
#if __ANDROID__ || __IOS__ || NET461 || __WASM__ || __SKIA__ || __NETSTD_REFERENCE__ || __MACOS__
#if false || false || NET461 || false || __SKIA__ || __NETSTD_REFERENCE__ || false
[global::Uno.NotImplemented("__ANDROID__", "__IOS__", "NET461", "__WASM__", "__SKIA__", "__NETSTD_REFERENCE__", "__MACOS__")]
public int CurrentlyShownApplicationViewId
{
Expand Down

0 comments on commit b87dc94

Please sign in to comment.