We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cbd6f7 commit 0582f38Copy full SHA for 0582f38
Assets/Thirdweb/Plugins/WalletConnectUnity/com.walletconnect.core/Plugins/iOS/CanOpenUrl.m
@@ -1,10 +1,10 @@
1
#import <Foundation/Foundation.h>
2
#import <UIKit/UIKit.h>
3
4
-NSString *ToNSString(char* string) {
+NSString *ConvertCStringToNSString(char* string) {
5
return [NSString stringWithUTF8String:string];
6
}
7
8
bool _CanOpenURL (char* url) {
9
- return [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:ToNSString(url)]];
+ return [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:ConvertCStringToNSString(url)]];
10
0 commit comments