mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding lower case to theme
This commit is contained in:
parent
21684ef6b1
commit
002f8144fd
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ export function AddDownloadSourceModal({
|
|||
visible,
|
||||
onClose,
|
||||
onAddDownloadSource,
|
||||
}: AddDownloadSourceModalProps) {
|
||||
}: Readonly<AddDownloadSourceModalProps>) {
|
||||
const [url, setUrl] = useState("");
|
||||
const [isLoading, setIsLoading] = useState(false);
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ export const ImportThemeModal = ({
|
|||
isActive: false,
|
||||
author: author?.id,
|
||||
authorName: author?.displayName,
|
||||
code: `${THEME_WEB_STORE_URL}/themes/${themeName}/theme.css`,
|
||||
code: `${THEME_WEB_STORE_URL}/themes/${themeName.toLowerCase()}/theme.css`,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue