forked from EVOgeek/Vmeda.Online
		
	MOBILE-3554 login: Add forceLoginLogo setting to avoid showing web logo
This commit is contained in:
		
							parent
							
								
									37b0447cfe
								
							
						
					
					
						commit
						0e5c448a82
					
				| @ -97,6 +97,7 @@ | |||||||
|     "enableanalytics": false, |     "enableanalytics": false, | ||||||
|     "enableonboarding": true, |     "enableonboarding": true, | ||||||
|     "forceColorScheme": "", |     "forceColorScheme": "", | ||||||
|  |     "forceLoginLogo": false, | ||||||
|     "ioswebviewscheme": "moodleappfs", |     "ioswebviewscheme": "moodleappfs", | ||||||
|     "appstores": { |     "appstores": { | ||||||
|         "android": "com.moodle.moodlemobile", |         "android": "com.moodle.moodlemobile", | ||||||
|  | |||||||
| @ -70,7 +70,7 @@ export class CoreLoginCredentialsPage { | |||||||
| 
 | 
 | ||||||
|         this.siteUrl = navParams.get('siteUrl'); |         this.siteUrl = navParams.get('siteUrl'); | ||||||
|         this.siteName = navParams.get('siteName') || null; |         this.siteName = navParams.get('siteName') || null; | ||||||
|         this.logoUrl = navParams.get('logoUrl') || null; |         this.logoUrl = !CoreConfigConstants.forceLoginLogo && navParams.get('logoUrl') || null; | ||||||
|         this.siteConfig = navParams.get('siteConfig'); |         this.siteConfig = navParams.get('siteConfig'); | ||||||
|         this.urlToOpen = navParams.get('urlToOpen'); |         this.urlToOpen = navParams.get('urlToOpen'); | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -412,7 +412,7 @@ export class CoreLoginHelperProvider { | |||||||
|      * @return Logo URL. |      * @return Logo URL. | ||||||
|      */ |      */ | ||||||
|     getLogoUrl(config: any): string { |     getLogoUrl(config: any): string { | ||||||
|         return config ? (config.logourl || config.compactlogourl) : null; |         return !CoreConfigConstants.forceLoginLogo && config ? (config.logourl || config.compactlogourl) : null; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     /** |     /** | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user