File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ struct ToolsView: View {
146146 . navigationTitle ( " Tools " )
147147 . onAppear {
148148 for (i, option) in springboardOptions. enumerated ( ) {
149- // springboardOptions[i].value = getSpringboardOption(key: option.key) as? Bool ?? false
149+ springboardOptions [ i] . value = getSpringboardOption ( key: option. key) as? Bool ?? false
150150 }
151151 }
152152 }
@@ -158,7 +158,7 @@ struct ToolsView: View {
158158 guard let data = try ? Data ( contentsOf: url) else { return nil }
159159 let plist = try ? PropertyListSerialization . propertyList ( from: data, format: nil ) as? [ String : Any ]
160160
161- return plist ? [ " SBDontLockAfterCrash " ]
161+ return plist ? [ key ]
162162 }
163163
164164 func toggleSpringboardOption( key: String , value: Any ) throws {
You can’t perform that action at this time.
0 commit comments