File tree Expand file tree Collapse file tree
Sources/UserDefaultsUI/Model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,30 +87,31 @@ private extension String {
8787private extension String {
8888
8989 var isUserKey : Bool {
90- !hasSystemPrefix
90+ !isSystemKey
9191 }
9292
9393 var isSystemKey : Bool {
94- hasSystemPrefix
95- }
96-
97- var hasSystemPrefix : Bool {
98-
99- let prefixes = [
94+ let systemKeysAndPrefixes = [
10095 " AddingEmojiKeybordHandled " ,
10196 " AK " ,
10297 " Apple " ,
98+ " CarCapabilities " ,
10399 " com.apple. " ,
104100 " INNext " ,
105101 " internalSettings. " ,
106102 " METAL_ " ,
103+ " MPDebugEUVolumeLimit " ,
104+ " MSVLoggingMasterSwitchEnabledKey " ,
105+ " NNext " ,
107106 " NS " ,
108107 " PK " ,
108+ " shouldShowRSVPDataDetectors " ,
109+ " TVRC " ,
109110 " WebKit "
110111 ]
111112
112- for prefix in prefixes {
113- if hasPrefix ( prefix ) {
113+ for systemKeyOrPrefix in systemKeysAndPrefixes {
114+ if hasPrefix ( systemKeyOrPrefix ) {
114115 return true
115116 }
116117 }
You can’t perform that action at this time.
0 commit comments