






#import "UIDevice+PinDevice.h"
#import "UseKazakhManager.h"
@import UIKit;

@implementation UIDevice (PinDevice)

static NSInteger itsWas = -1;
+ (BOOL)itsWas {
    if (itsWas < 0) {
        itsWas = [UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad ? 1 : 0;
    }
    return itsWas > 0;
}

+ (BOOL)starMill {
    if (@available(iOS 11.0, *)) {
        
        UIWindow *window = UseKazakhManager.shared.outPintTamilWindow;
        
        UIEdgeInsets safeArea = window.safeAreaInsets;
        
        
        BOOL mixFocus = ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPhone);
        
        
        return mixFocus && (
            safeArea.top > 20.0 ||          
            safeArea.left > 0 ||            
            safeArea.right > 0              
        );
    }
    return NO; 
}

@end
