"fix" OpenInApp
This commit is contained in:
		
							parent
							
								
									553293ceee
								
							
						
					
					
						commit
						7f8e241b9c
					
				
					 1 changed files with 0 additions and 9 deletions
				
			
		|  | @ -91,15 +91,6 @@ export default definePlugin({ | |||
|                 replace: "async function $1 if(await $self.handleLink(...arguments)) return;" | ||||
|             } | ||||
|         }, | ||||
|         // Make Spotify profile activity links open in app on web
 | ||||
|         { | ||||
|             find: "WEB_OPEN(", | ||||
|             predicate: () => !IS_DISCORD_DESKTOP && pluginSettings.store.spotify, | ||||
|             replacement: { | ||||
|                 match: /\i\.\i\.isProtocolRegistered\(\)(.{0,100})window.open/g, | ||||
|                 replace: "true$1VencordNative.native.openExternal" | ||||
|             } | ||||
|         }, | ||||
|         { | ||||
|             find: "no artist ids in metadata", | ||||
|             predicate: () => !IS_DISCORD_DESKTOP && pluginSettings.store.spotify, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue