Skip to content

Commit ebde6ae

Browse files
authored
Merge pull request #9 from lixm1988/main
fix getKeyWindow failed while app on background
2 parents 2132f5d + 1cdbef3 commit ebde6ae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Classes/Process/EaseCallManager.m

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -313,10 +313,8 @@ -(UIWindow*) getKeyWindow
313313
}
314314
}
315315
}
316-
}else{
317-
return [UIApplication sharedApplication].keyWindow;
318316
}
319-
return nil;
317+
return [UIApplication sharedApplication].keyWindow;
320318
}
321319

322320
- (void)refreshUIOutgoing

0 commit comments

Comments
 (0)