@@ -46,12 +46,12 @@ class GeneralSettingsTableViewController: BasicStaticTableViewController {
46
46
return uiSwitch
47
47
} ( )
48
48
49
- let ignoreGPGIDSwitch : UISwitch = {
49
+ let enableGPGIDSwitch : UISwitch = {
50
50
let uiSwitch = UISwitch ( )
51
51
uiSwitch. onTintColor = Colors . systemBlue
52
52
uiSwitch. sizeToFit ( )
53
- uiSwitch. addTarget ( self , action: #selector( ignoreGPGIDSwitchAction ( _: ) ) , for: UIControl . Event. valueChanged)
54
- uiSwitch. isOn = Defaults . isIgnoreGPGIDOn
53
+ uiSwitch. addTarget ( self , action: #selector( enableGPGIDSwitchAction ( _: ) ) , for: UIControl . Event. valueChanged)
54
+ uiSwitch. isOn = Defaults . isEnableGPGIDOn
55
55
return uiSwitch
56
56
} ( )
57
57
@@ -86,7 +86,7 @@ class GeneralSettingsTableViewController: BasicStaticTableViewController {
86
86
87
87
// section 2
88
88
[
89
- [ . title: " IgnoreGPGID " . localize ( ) , . action: " none " ] ,
89
+ [ . title: " EnableGPGID " . localize ( ) , . action: " none " ] ,
90
90
[ . title: " ShowFolders " . localize ( ) , . action: " none " ] ,
91
91
[ . title: " HidePasswordImages " . localize ( ) , . action: " none " ] ,
92
92
[ . title: " HideUnknownFields " . localize ( ) , . action: " none " ] ,
@@ -139,10 +139,10 @@ class GeneralSettingsTableViewController: BasicStaticTableViewController {
139
139
cell. accessoryType = . none
140
140
cell. selectionStyle = . none
141
141
cell. accessoryView = showFolderSwitch
142
- case " IgnoreGPGID " . localize ( ) :
142
+ case " EnableGPGID " . localize ( ) :
143
143
cell. accessoryType = . none
144
144
cell. selectionStyle = . none
145
- cell. accessoryView = ignoreGPGIDSwitch
145
+ cell. accessoryView = enableGPGIDSwitch
146
146
case " HidePasswordImages " . localize ( ) :
147
147
cell. accessoryType = . none
148
148
let detailButton = UIButton ( type: . detailDisclosure)
@@ -221,8 +221,8 @@ class GeneralSettingsTableViewController: BasicStaticTableViewController {
221
221
}
222
222
223
223
@objc
224
- func ignoreGPGIDSwitchAction ( _: Any ? ) {
225
- Defaults . isIgnoreGPGIDOn = ignoreGPGIDSwitch . isOn
224
+ func enableGPGIDSwitchAction ( _: Any ? ) {
225
+ Defaults . isEnableGPGIDOn = enableGPGIDSwitch . isOn
226
226
}
227
227
228
228
@objc
0 commit comments