mirror of
https://github.com/He4eT/elseifplayer.git
synced 2026-05-05 17:37:21 +00:00
Themes: init
This commit is contained in:
parent
251fa153f0
commit
cbc6207ad9
9 changed files with 108 additions and 46 deletions
|
|
@ -2,7 +2,9 @@ import { h } from 'preact'
|
|||
|
||||
import { getFileExtension } from '~/src/utils/utils.routing'
|
||||
|
||||
export default function ({params: {theme, encodedUrl}}) {
|
||||
export default function ({setTheme, theme, encodedUrl}) {
|
||||
setTheme(theme)
|
||||
|
||||
const url = decodeURIComponent(encodedUrl)
|
||||
const type = getFileExtension(url)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue