mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2025-10-31 12:42:07 +00:00 
			
		
		
		
	fix: make title bar reactive on auto mode
This commit is contained in:
		| @@ -34,10 +34,12 @@ export default { | ||||
|             if (themePref == "auto") this.theme = darkModePreference.matches ? "dark" : "light"; | ||||
|             else this.theme = themePref; | ||||
|  | ||||
|             // Change title bar color to white | ||||
|             // Change title bar color based on user's theme | ||||
|             const themeColor = document.querySelector("meta[name='theme-color']"); | ||||
|             if (this.theme === "light") { | ||||
|                 const themeColor = document.querySelector("meta[name='theme-color']"); | ||||
|                 themeColor.setAttribute("content", "#FFF"); | ||||
|             } else { | ||||
|                 themeColor.setAttribute("content", "#0F0F0F"); | ||||
|             } | ||||
|  | ||||
|             // Used for the scrollbar | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 rramiachraf
					rramiachraf