(value, key)
| 252 | if (isSurge) $notification.post(title, subtitle, message) |
| 253 | } |
| 254 | const write = (value, key) => { |
| 255 | if (isQuanX) return $prefs.setValueForKey(value, key) |
| 256 | if (isSurge) return $persistentStore.write(value, key) |
| 257 | } |
| 258 | const read = (key) => { |
| 259 | if (isQuanX) return $prefs.valueForKey(key) |
| 260 | if (isSurge) return $persistentStore.read(key) |