mirror of https://github.com/oxen-io/session-ios
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			29 lines
		
	
	
		
			633 B
		
	
	
	
		
			Swift
		
	
			
		
		
	
	
			29 lines
		
	
	
		
			633 B
		
	
	
	
		
			Swift
		
	
 | 
						|
final class ContextMenuWindow : UIWindow {
 | 
						|
 | 
						|
    override var windowLevel: UIWindow.Level {
 | 
						|
        get { return UIWindow.Level(rawValue: CGFloat.greatestFiniteMagnitude - 1) }
 | 
						|
        set { /* Do nothing */ }
 | 
						|
    }
 | 
						|
 | 
						|
    override init(frame: CGRect) {
 | 
						|
        super.init(frame: frame)
 | 
						|
        initialize()
 | 
						|
    }
 | 
						|
 | 
						|
    @available(iOS 13.0, *)
 | 
						|
    override init(windowScene: UIWindowScene) {
 | 
						|
        super.init(windowScene: windowScene)
 | 
						|
        initialize()
 | 
						|
    }
 | 
						|
 | 
						|
    required init?(coder: NSCoder) {
 | 
						|
        super.init(coder: coder)
 | 
						|
        initialize()
 | 
						|
    }
 | 
						|
 | 
						|
    private func initialize() {
 | 
						|
        backgroundColor = .clear
 | 
						|
    }
 | 
						|
}
 |