<commit_before>import UIKit
import WMF

class ImageDimmingExampleViewController: UIViewController {
    
    @IBOutlet weak var exampleImage: UIImageView!
    
    fileprivate var theme = Theme.standard
    
    override func viewDidLoad() {
        super.viewDidLoad()
        apply(theme: self.theme)
    }
    
}

extension ImageDimmingExampleViewController: Themeable {
    public func apply(theme: Theme) {
        self.theme = theme
        
        guard viewIfLoaded != nil else {
            return
        }
        
        view.backgroundColor = theme.colors.baseBackground
        exampleImage.alpha = theme.imageOpacity
    }
}<commit_msg>Ignore invert colors on image dimming example<commit_after>import UIKit
import WMF

class ImageDimmingExampleViewController: UIViewController {
    
    @IBOutlet weak var exampleImage: UIImageView!
    
    fileprivate var theme = Theme.standard
    
    override func viewDidLoad() {
        super.viewDidLoad()
        apply(theme: self.theme)
    }
    
}

extension ImageDimmingExampleViewController: Themeable {
    public func apply(theme: Theme) {
        self.theme = theme
        
        if #available(iOS 11.0, *) {
            exampleImage.accessibilityIgnoresInvertColors = true
        }
        
        guard viewIfLoaded != nil else {
            return
        }
        
        view.backgroundColor = theme.colors.baseBackground
        exampleImage.alpha = theme.imageOpacity
    }
}
{'fraction_non_alphanumeric': 0.06579849211788896, 'fraction_numerical': 0.00205620287868403, 'mean_word_length': 2.2808988764044944, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4225582', 'n_tokens_mistral': 396, 'n_tokens_neox': 383, 'n_words': 91}