| 
						
						
							
								
							
						
						
					 | 
					@ -187,10 +187,9 @@ export default class IdentitySwitcherView extends Vue { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        text: "Are you sure you want to erase this identity? (There is no undo. You may want to select it and back it up just in case.)", | 
					 | 
					 | 
					        text: "Are you sure you want to erase this identity? (There is no undo. You may want to select it and back it up just in case.)", | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        onYes: async () => { | 
					 | 
					 | 
					        onYes: async () => { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					          const platformService = PlatformServiceFactory.getInstance(); | 
					 | 
					 | 
					          const platformService = PlatformServiceFactory.getInstance(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					          await platformService.dbExec( | 
					 | 
					 | 
					          await platformService.dbExec(`DELETE FROM accounts WHERE id = ?`, [ | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					            `DELETE FROM accounts WHERE id = ?`, | 
					 | 
					 | 
					            id, | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					            [id], | 
					 | 
					 | 
					          ]); | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					          ); | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					          if (USE_DEXIE_DB) { | 
					 | 
					 | 
					          if (USE_DEXIE_DB) { | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            // one of the few times we use accountsDBPromise directly; try to avoid more usage | 
					 | 
					 | 
					            // one of the few times we use accountsDBPromise directly; try to avoid more usage | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            const accountsDB = await accountsDBPromise; | 
					 | 
					 | 
					            const accountsDB = await accountsDBPromise; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |