1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-25 06:43:24 +03:00

GH-296 Reformat and make some properties fileprivate

This commit is contained in:
Tae Won Ha 2016-11-20 10:31:03 +01:00
parent d372ca9682
commit 0b854236c0
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
2 changed files with 4 additions and 4 deletions

View File

@ -13,8 +13,8 @@ struct AdvancedPrefData: Equatable, StandardPrefData {
fileprivate static let useInteractiveZsh = "use-interactive-zsh"
static func ==(left: AdvancedPrefData, right: AdvancedPrefData) -> Bool {
return left.useSnapshotUpdateChannel == right.useSnapshotUpdateChannel &&
left.useInteractiveZsh == right.useInteractiveZsh
return left.useSnapshotUpdateChannel == right.useSnapshotUpdateChannel
&& left.useInteractiveZsh == right.useInteractiveZsh
}
static let `default` = AdvancedPrefData(useSnapshotUpdateChannel: false, useInteractiveZsh: false)

View File

@ -28,8 +28,8 @@ fileprivate class PrefKeys38 {
class Pref38To128Converter {
static let fromVersion = "38"
static let toVersion = "128"
fileprivate static let fromVersion = "38"
fileprivate static let toVersion = "128"
fileprivate let userDefaults = UserDefaults.standard
fileprivate let fontManager = NSFontManager.shared()