forked from EVOgeek/Vmeda.Online
		
	Merge pull request #2372 from dpalou/MOBILE-2995
MOBILE-2995 qr: Fix camera not stopped and black screen in iOS
This commit is contained in:
		
						commit
						1337533819
					
				| @ -1287,5 +1287,9 @@ ion-app.app-root { | ||||
|     ion-content, ion-backdrop, ion-modal:not(.core-modal-fullscreen), core-ion-tabs { | ||||
|       display: none; | ||||
|     } | ||||
| 
 | ||||
|     &.ios .ion-page.show-page~.nav-decor { | ||||
|       display: none; | ||||
|     } | ||||
|   } | ||||
| } | ||||
|  | ||||
| @ -1534,6 +1534,7 @@ export class CoreUtilsProvider { | ||||
|         // Hide camera preview.
 | ||||
|         document.body.classList.remove('core-scanning-qr'); | ||||
|         this.qrScanner.hide(); | ||||
|         this.qrScanner.destroy(); | ||||
| 
 | ||||
|         this.qrScanData.observable.unsubscribe(); // Stop scanning.
 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user