mirror of
https://github.com/qinyuhang/ShadowsocksX-NG-R.git
synced 2026-10-23 16:43:40 +00:00
Remove OTA in View controller
This commit is contained in:
@@ -29,8 +29,6 @@ class PreferencesWindowController: NSWindowController
|
||||
@IBOutlet weak var remarkTextField: NSTextField!
|
||||
@IBOutlet weak var groupTextField: NSTextField!
|
||||
|
||||
@IBOutlet weak var otaCheckBoxBtn: NSButton!
|
||||
|
||||
@IBOutlet weak var copyURLBtn: NSButton!
|
||||
|
||||
@IBOutlet weak var removeButton: NSButton!
|
||||
@@ -234,8 +232,6 @@ class PreferencesWindowController: NSWindowController
|
||||
ObfsParamTextField.bind("value", to: editingProfile, withKeyPath: "ssrObfsParam", options: [NSContinuouslyUpdatesValueBindingOption: true])
|
||||
groupTextField.bind("value", to: editingProfile, withKeyPath: "ssrGroup", options: [NSContinuouslyUpdatesValueBindingOption: true])
|
||||
|
||||
otaCheckBoxBtn.bind("value", to: editingProfile, withKeyPath: "ota"
|
||||
, options: [NSContinuouslyUpdatesValueBindingOption: true])
|
||||
} else {
|
||||
editingProfile = nil
|
||||
hostTextField.unbind("value")
|
||||
@@ -251,7 +247,6 @@ class PreferencesWindowController: NSWindowController
|
||||
|
||||
remarkTextField.unbind("value")
|
||||
|
||||
otaCheckBoxBtn.unbind("value")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -26,9 +26,6 @@
|
||||
/* Class = "NSTextFieldCell"; title = "Obfs Param"; ObjectID = "g7c-fW-7J4"; */
|
||||
"g7c-fW-7J4.title" = "混淆参数:";
|
||||
|
||||
/* Class = "NSButtonCell"; title = "Enable OTA"; ObjectID = "hRZ-Rp-I5e"; */
|
||||
"hRZ-Rp-I5e.title" = "启用 OTA";
|
||||
|
||||
/* Class = "NSButtonCell"; title = "Cacnel"; ObjectID = "j03-9E-uHW"; */
|
||||
"j03-9E-uHW.title" = "取消";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user