Skip to content

Commit

Permalink
not catalyst
Browse files Browse the repository at this point in the history
  • Loading branch information
tj_devel709 committed Oct 16, 2023
1 parent 15ff705 commit 4361532
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/PassKit/PKPayLaterView.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#nullable enable

#if IOS
#if IOS && !__MACCATALYST__

using System;
using System.Runtime.InteropServices;
Expand Down Expand Up @@ -58,12 +58,6 @@ public void ValidateAmount (NSDecimalNumber amount, string currencyCode, Action<
}
}

#if NET
[SupportedOSPlatform ("ios17.0")]
[UnsupportedOSPlatform ("macos")]
[UnsupportedOSPlatform ("maccatalyst")]
[UnsupportedOSPlatform ("tvos")]
#endif
[DllImport (Constants.PassKitLibrary)]
unsafe static extern void PKPayLaterValidateAmount (IntPtr /* NSDecimalNumber */ amount, IntPtr /* NSString */ currencyCode, BlockLiteral* callback);
}
Expand Down

0 comments on commit 4361532

Please sign in to comment.