You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
			
				
					
						
							|  |  |  | import { Storage } from './storage'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | async function markDone() { | 
					
						
							|  |  |  |   await Storage.put('chromiumRegistrationDoneEver', ''); | 
					
						
							|  |  |  |   await Storage.put('chromiumRegistrationDone', ''); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | function isDone() { | 
					
						
							|  |  |  |   return Storage.get('chromiumRegistrationDone') === ''; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | function everDone() { | 
					
						
							|  |  |  |   return ( | 
					
						
							|  |  |  |     Storage.get('chromiumRegistrationDoneEver') === '' || | 
					
						
							|  |  |  |     Storage.get('chromiumRegistrationDone') === '' | 
					
						
							|  |  |  |   ); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | async function remove() { | 
					
						
							|  |  |  |   await Storage.remove('chromiumRegistrationDone'); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export const Registration = { markDone, isDone, everDone, remove }; |