forked from EVOgeek/Vmeda.Online
		
	Merge pull request #2435 from dpalou/MOBILE-3459
MOBILE-3459 more: Allow disabling QR reader in main menu
This commit is contained in:
		
						commit
						384b047272
					
				| @ -67,7 +67,8 @@ export class CoreMainMenuMorePage implements OnDestroy { | ||||
|         this.updateSiteObserver = eventsProvider.on(CoreEventsProvider.SITE_UPDATED, this.loadSiteInfo.bind(this), | ||||
|             sitesProvider.getCurrentSiteId()); | ||||
|         this.loadSiteInfo(); | ||||
|         this.showScanQR = this.utils.canScanQR(); | ||||
|         this.showScanQR = this.utils.canScanQR() && | ||||
|                 !this.sitesProvider.getCurrentSite().isFeatureDisabled('CoreMainMenuDelegate_QrReader'); | ||||
|     } | ||||
| 
 | ||||
|     /** | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user