( index )
| 93 | } |
| 94 | |
| 95 | set tipShown( index ){ |
| 96 | const serializedData = localStorage.getItem( Store.namespace ); |
| 97 | const data = serializedData ? JSON.parse(serializedData) : {}; |
| 98 | if (data['tips']==undefined) data['tips'] = [ false, false, false, false, false, false ]; |
| 99 | data['tips'][index] = true; |
| 100 | localStorage.setItem(Store.namespace, JSON.stringify(data)); |
| 101 | } |
| 102 | } |
nothing calls this directly
no outgoing calls
no test coverage detected