fix: update switch device and notifications patch
This commit is contained in:
		
							parent
							
								
									456d5a61cd
								
							
						
					
					
						commit
						8f4c24cf71
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -13,7 +13,7 @@ addPatch({ | |||
|             replacement: { | ||||
|                 // FIXME: fix eslint rule
 | ||||
|                 // eslint-disable-next-line no-useless-escape
 | ||||
|                 match: /\.isPlatformEmbedded(?=\?\i\.DesktopNotificationTypes\.ALL)/g, | ||||
|                 match: /\.isPlatformEmbedded(?=\?\i\.\i\.ALL)/g, | ||||
|                 replace: "$&||true" | ||||
|             } | ||||
|         } | ||||
|  |  | |||
|  | @ -12,7 +12,7 @@ addPatch({ | |||
|             find: "lastOutputSystemDevice.justChanged", | ||||
|             replacement: { | ||||
|                 // eslint-disable-next-line no-useless-escape
 | ||||
|                 match: /(\i)\.default\.getState\(\).neverShowModal/, | ||||
|                 match: /(\i)\.\i\.getState\(\).neverShowModal/, | ||||
|                 replace: "$& || $self.shouldIgnore($1)" | ||||
|             } | ||||
|         } | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 D3SOX
						D3SOX