From a08a2295d5dc56b34a66ac28bd8ba78f04a00717 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 12 Jan 2024 19:50:21 +0200 Subject: [PATCH] Update music player, version, and playlist message --- .../src/interface/components/music/FSMusicPlayer.tsx | 2 +- muzik-offline/src/interface/layouts/AboutSettings.tsx | 2 +- muzik-offline/src/interface/pages/AllPlaylists.tsx | 4 +--- muzik-offline/src/interface/pages/Settings.tsx | 10 +++++----- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/muzik-offline/src/interface/components/music/FSMusicPlayer.tsx b/muzik-offline/src/interface/components/music/FSMusicPlayer.tsx index 3419b59..17086b7 100644 --- a/muzik-offline/src/interface/components/music/FSMusicPlayer.tsx +++ b/muzik-offline/src/interface/components/music/FSMusicPlayer.tsx @@ -102,7 +102,7 @@ const FSMusicPlayer: FunctionComponent = (props: FSMusicPlay
Loading...
}> - + diff --git a/muzik-offline/src/interface/layouts/AboutSettings.tsx b/muzik-offline/src/interface/layouts/AboutSettings.tsx index cdff4ed..2d5c1d6 100644 --- a/muzik-offline/src/interface/layouts/AboutSettings.tsx +++ b/muzik-offline/src/interface/layouts/AboutSettings.tsx @@ -11,7 +11,7 @@ const AboutSettings = () => {

Copyright 2024 muzik-apps. All rights reserved.

-

Version 0.1.0

+

Version 0.2.0

open("https://github.com/muzik-apps/muzik-offline")}> muzik-offline diff --git a/muzik-offline/src/interface/pages/AllPlaylists.tsx b/muzik-offline/src/interface/pages/AllPlaylists.tsx index d8fc47a..1d3fe6e 100644 --- a/muzik-offline/src/interface/pages/AllPlaylists.tsx +++ b/muzik-offline/src/interface/pages/AllPlaylists.tsx @@ -91,9 +91,7 @@ const AllPlaylists = () => { {state.playlistList.length === 0 && state.isloading === false && (
- it seems like you may not have added any songs yet.
- To add songs, click on the settings button above, scroll down
- and click on "click here to change directories".
+ you have no playlists
)} { state.isloading && } diff --git a/muzik-offline/src/interface/pages/Settings.tsx b/muzik-offline/src/interface/pages/Settings.tsx index 6cdeab0..b8d6aca 100644 --- a/muzik-offline/src/interface/pages/Settings.tsx +++ b/muzik-offline/src/interface/pages/Settings.tsx @@ -1,10 +1,10 @@ import { motion } from 'framer-motion'; import { FunctionComponent, useState, useEffect } from 'react'; import "@styles/pages/Settings.scss"; -import { ChevronDown, ComponentIcon, InformationCircleContained, Layout, Lock, SettingsIcon } from "@icons/index"; +import { ChevronDown, ComponentIcon, InformationCircleContained, Layout, SettingsIcon } from "@icons/index"; import { DirectoriesModal, SettingsNavigator } from '@components/index'; import { selectedSettingENUM } from 'types'; -import { AppearanceSettings, GeneralSettings, AdvancedSettings, AboutSettings, SecuritySettings } from '@layouts/index'; +import { AppearanceSettings, GeneralSettings, AdvancedSettings, AboutSettings } from '@layouts/index'; import { useSavedObjectStore } from 'store'; type SettingsProps = { @@ -56,7 +56,7 @@ const Settings: FunctionComponent = (props: SettingsProps) => { - + {/**/} @@ -68,8 +68,8 @@ const Settings: FunctionComponent = (props: SettingsProps) => { return setCDModalState(true)}/> case selectedSettingENUM.Appearance: return - case selectedSettingENUM.Security: - return + //case selectedSettingENUM.Security: + // return case selectedSettingENUM.Advanced: return case selectedSettingENUM.About: