(key: string)
| 110 | } |
| 111 | |
| 112 | export function remove(key: string): void { |
| 113 | if (!verify(key)) { |
| 114 | return; |
| 115 | } |
| 116 | const editor = sharedPreferences.edit(); |
| 117 | editor.remove(key); |
| 118 | editor.apply(); |
| 119 | } |
| 120 | |
| 121 | export function clear(): void { |
| 122 | ensureSharedPreferences(); |