Fix iOS prompt
This commit is contained in:
		
							parent
							
								
									175ab5ea76
								
							
						
					
					
						commit
						0c496ca223
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -128,7 +128,8 @@ class Notifier { | |||
|   } | ||||
| 
 | ||||
|   iosSupportedButInstallRequired() { | ||||
|     return this.pushSupported() && "standalone" in window.navigator && window.navigator.standalone === false; | ||||
|     // no PushManager when not installed, but it _is_ supported.
 | ||||
|     return config.enable_web_push && "serviceWorker" in navigator && window.navigator.standalone === false; | ||||
|   } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue