File tree 1 file changed +3
-3
lines changed
Assets/Thirdweb/Runtime/Unity
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,18 +19,18 @@ public class ThirdwebManager : ThirdwebManagerBase
19
19
20
20
protected override ThirdwebClient CreateClient ( )
21
21
{
22
- if ( string . IsNullOrEmpty ( ClientId ) )
22
+ if ( string . IsNullOrWhiteSpace ( ClientId ) )
23
23
{
24
24
ThirdwebDebug . LogError ( "ClientId must be set in order to initialize ThirdwebManager. " + "Get your API key from https://thirdweb.com/create-api-key" ) ;
25
25
return null ;
26
26
}
27
27
28
- if ( string . IsNullOrEmpty ( BundleId ) )
28
+ if ( string . IsNullOrWhiteSpace ( BundleId ) )
29
29
{
30
30
BundleId = null ;
31
31
}
32
32
33
- BundleId ??= Application . identifier ?? $ "com.{ Application . companyName } .{ Application . productName } ";
33
+ BundleId ??= string . IsNullOrWhiteSpace ( Application . identifier ) ? $ "com.{ Application . companyName } .{ Application . productName } " : Application . identifier ;
34
34
35
35
return ThirdwebClient . Create (
36
36
clientId : ClientId ,
You can’t perform that action at this time.
0 commit comments