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.
		
		
		
		
		
			
		
			
				
	
	
		
			31 lines
		
	
	
		
			681 B
		
	
	
	
		
			Swift
		
	
			
		
		
	
	
			31 lines
		
	
	
		
			681 B
		
	
	
	
		
			Swift
		
	
// Copyright © 2022 Rangeproof Pty Ltd. All rights reserved.
 | 
						|
 | 
						|
import UIKit
 | 
						|
 | 
						|
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()
 | 
						|
    }
 | 
						|
 | 
						|
    override init(windowScene: UIWindowScene) {
 | 
						|
        super.init(windowScene: windowScene)
 | 
						|
        initialize()
 | 
						|
    }
 | 
						|
 | 
						|
    required init?(coder: NSCoder) {
 | 
						|
        super.init(coder: coder)
 | 
						|
        initialize()
 | 
						|
    }
 | 
						|
 | 
						|
    private func initialize() {
 | 
						|
        backgroundColor = .clear
 | 
						|
    }
 | 
						|
}
 |