<commit_before>//
//  Copyright © 2016年 xiAo_Ju. All rights reserved.
//

class LockMainNav: UINavigationController {

    override func viewDidLoad() {
        super.viewDidLoad()

        didInitialize()
    }

    func didInitialize() {
        navigationBar.titleTextAttributes = [
            .foregroundColor: LockManager.options.barTittleColor,
            .font: LockManager.options.barTittleFont
        ]
        
        if LockManager.options.hideBarBottomLine {
            navigationBar.hideBottomHairline()
        }

        if let backgroundColor = LockManager.options.barBackgroundColor {
            navigationBar.setMyBackgroundColor(backgroundColor)
        }
        navigationBar.tintColor = LockManager.options.barTintColor
    }

    override var preferredStatusBarStyle: UIStatusBarStyle {
        return LockManager.options.statusBarStyle
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
}<commit_msg>删除没用代码<commit_after>//
//  Copyright © 2016年 xiAo_Ju. All rights reserved.
//

class LockMainNav: UINavigationController {

    override func viewDidLoad() {
        super.viewDidLoad()

        didInitialize()
    }

    func didInitialize() {
        navigationBar.titleTextAttributes = [
            .foregroundColor: LockManager.options.barTittleColor,
            .font: LockManager.options.barTittleFont
        ]
        
        if LockManager.options.hideBarBottomLine {
            navigationBar.hideBottomHairline()
        }

        if let backgroundColor = LockManager.options.barBackgroundColor {
            navigationBar.setMyBackgroundColor(backgroundColor)
        }
        navigationBar.tintColor = LockManager.options.barTintColor
    }

    override var preferredStatusBarStyle: UIStatusBarStyle {
        return LockManager.options.statusBarStyle
    }
}
{'fraction_non_alphanumeric': 0.0731070496083551, 'fraction_numerical': 0.004177545691906005, 'mean_word_length': 2.4899817850637525, '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': '1519085', 'n_tokens_mistral': 525, 'n_tokens_neox': 505, 'n_words': 90}