diff --git a/src/components/WeatherModal/WeatherIcon.tsx b/src/components/WeatherModal/WeatherIcon.tsx
index 6a9505b..4515618 100644
--- a/src/components/WeatherModal/WeatherIcon.tsx
+++ b/src/components/WeatherModal/WeatherIcon.tsx
@@ -1,4 +1,5 @@
-import { Image } from '@mantine/core';
+import { Group, Image } from '@mantine/core';
+import { FaArrowRight } from 'react-icons/fa';
import CloudyIcon from '../../assets/weather/cloudy.svg';
import HazeIcon from '../../assets/weather/haze.svg';
import HeavyRainIcon from '../../assets/weather/heavy-rain.svg';
@@ -18,8 +19,11 @@ export default function WeatherIcon({
textDescription: string;
}) {
const icon = textDescription.includes('then')
- ? textDescription.substring(0, textDescription.trim().indexOf('then'))
- : textDescription;
+ ? [
+ textDescription.substring(0, textDescription.trim().indexOf('then')),
+ textDescription.substring(textDescription.trim().indexOf('then') + 4).trim(),
+ ]
+ : [textDescription.trim()];
const lookupSource = (icon: any) => {
switch (icon.trim()) {
@@ -178,14 +182,61 @@ export default function WeatherIcon({
};
return (
-
+ <>
+ {icon.length === 1 ? (
+
+ ) : (
+
+
+
+
+
+ )}
+ >
);
}
diff --git a/src/pages/settings/components/Theming/Themes/ThemeModal/ThemeModal.tsx b/src/pages/settings/components/Theming/Themes/ThemeModal/ThemeModal.tsx
index 0470ffc..a6ef453 100644
--- a/src/pages/settings/components/Theming/Themes/ThemeModal/ThemeModal.tsx
+++ b/src/pages/settings/components/Theming/Themes/ThemeModal/ThemeModal.tsx
@@ -85,7 +85,6 @@ export function ThemeModal({
setDefaultTheme(selectedTheme);
}
}, [selectedTheme]);
-
return (
- {playlists.length > 0 && !isMobile && (
+ {playlists.length > 0 && !isMobile && !isNew && !duplicate && (
)}
diff --git a/src/pages/settings/components/Theming/Themes/ThemeModal/components/ThemeEditor.tsx b/src/pages/settings/components/Theming/Themes/ThemeModal/components/ThemeEditor.tsx
index 2e80749..34f502b 100644
--- a/src/pages/settings/components/Theming/Themes/ThemeModal/components/ThemeEditor.tsx
+++ b/src/pages/settings/components/Theming/Themes/ThemeModal/components/ThemeEditor.tsx
@@ -34,6 +34,7 @@ export function ThemeEditor({
closePicker,
handleClose,
handleSaveTheme,
+ duplicate,
setDuplicate,
}: {
backgroundList: string[];
@@ -47,6 +48,7 @@ export function ThemeEditor({
closePicker: () => void;
handleClose: () => void;
handleSaveTheme: () => void;
+ duplicate: boolean;
setDuplicate: (duplicate: boolean) => void;
}) {
const [query, setQuery] = useState('');
@@ -621,7 +623,12 @@ export function ThemeEditor({