Skip to content

Commit

Permalink
chore(splash-screen): remove unused ios code (#1069)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Jun 28, 2022
1 parent be82c8d commit 44c040f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion splash-screen/ios/Plugin/SplashScreen.swift
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ import Capacitor
private func updateSplashImageBounds() {
var window: UIWindow? = UIApplication.shared.delegate?.window ?? nil

if #available(iOS 13, *), window == nil {
if window == nil {
let scene: UIWindowScene? = UIApplication.shared.connectedScenes.first as? UIWindowScene
window = scene?.windows.filter({$0.isKeyWindow}).first
if window == nil {
Expand Down

0 comments on commit 44c040f

Please sign in to comment.