Skip to content

Commit ac9350b

Browse files
committed
Minor
1 parent b38132e commit ac9350b

File tree

2 files changed

+15
-19
lines changed

2 files changed

+15
-19
lines changed

sample/Sample/MauiProgram.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Acr.UserDialogs;
2-
using Samples;
32

43
namespace Samples;
54

Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
1-
using System;
2-
3-
4-
namespace Acr.UserDialogs
1+
namespace Acr.UserDialogs
52
{
63
public static partial class UserDialogs
74
{
8-
#if NETSTANDARD
9-
static IUserDialogs currentInstance;
10-
public static IUserDialogs Instance
11-
{
12-
get
13-
{
14-
if (currentInstance == null)
15-
throw new ArgumentException("[Acr.UserDialogs] This is the bait library, not the platform library. You must install the nuget package in your main executable/application project");
16-
17-
return currentInstance;
18-
}
19-
set => currentInstance = value;
20-
}
21-
#endif
5+
// #if NETSTANDARD
6+
// static IUserDialogs currentInstance;
7+
// public static IUserDialogs Instance
8+
// {
9+
// get
10+
// {
11+
// if (currentInstance == null)
12+
// throw new ArgumentException("[Acr.UserDialogs] This is the bait library, not the platform library. You must install the nuget package in your main executable/application project");
13+
//
14+
// return currentInstance;
15+
// }
16+
// set => currentInstance = value;
17+
// }
18+
// #endif
2219
}
2320
}

0 commit comments

Comments
 (0)