Skip to content

Commit 5b57515

Browse files
committed
Update Utils.mm
1 parent 5007356 commit 5b57515

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Plugins/Native/Utils.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static void LOG(NSString* log){
3434

3535
static void InitUIPopoverViewController(UIViewController *viewController, float posX, float posY)
3636
{
37-
if(activity == nil || UI_USER_INTERFACE_IDIOM() != UIUserInterfaceIdiomPad)
37+
if(viewController == nil || UI_USER_INTERFACE_IDIOM() != UIUserInterfaceIdiomPad)
3838
return;
3939

4040
if (@available(iOS 13.0, *)) {

0 commit comments

Comments
 (0)