Skip to content

Commit

Permalink
Update music player, version, and playlist message
Browse files Browse the repository at this point in the history
  • Loading branch information
waveyboym committed Jan 12, 2024
1 parent 653891f commit a08a229
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const FSMusicPlayer: FunctionComponent<FSMusicPlayerProps> = (props: FSMusicPlay
</div>
<div className="lyrics_history_upcoming">
<Suspense fallback={<div>Loading...</div>}>
<HistoryUpcoming closePlayer={props.closePlayer} />
<HistoryUpcoming/>
</Suspense>
</div>
</motion.div>
Expand Down
2 changes: 1 addition & 1 deletion muzik-offline/src/interface/layouts/AboutSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const AboutSettings = () => {
<App_logo />
</div>
<h3>Copyright 2024 muzik-apps. All rights reserved.</h3>
<h3>Version 0.1.0</h3>
<h3>Version 0.2.0</h3>
<h3>
<motion.span whileTap={{scale: 0.98}} onClick={() => open("https://github.com/muzik-apps/muzik-offline")}>
muzik-offline
Expand Down
4 changes: 1 addition & 3 deletions muzik-offline/src/interface/pages/AllPlaylists.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,7 @@ const AllPlaylists = () => {
</div>
{state.playlistList.length === 0 && state.isloading === false && (
<h6>
it seems like you may not have added any songs yet.<br/>
To add songs, click on the settings button above, scroll down <br/>
and click on "click here to change directories". <br/>
you have no playlists
</h6>
)}
{ state.isloading && <LoaderAnimated /> }
Expand Down
10 changes: 5 additions & 5 deletions muzik-offline/src/interface/pages/Settings.tsx
Original file line number Diff line number Diff line change
@@ -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 = {
Expand Down Expand Up @@ -56,7 +56,7 @@ const Settings: FunctionComponent<SettingsProps> = (props: SettingsProps) => {
</div>
<SettingsNavigator icon={SettingsIcon} title={selectedSettingENUM.General} selected_setting={selectedSetting} setSelectedSettingF={setSelectedSettingF}/>
<SettingsNavigator icon={Layout} title={selectedSettingENUM.Appearance} selected_setting={selectedSetting} setSelectedSettingF={setSelectedSettingF}/>
<SettingsNavigator icon={Lock} title={selectedSettingENUM.Security} selected_setting={selectedSetting} setSelectedSettingF={setSelectedSettingF}/>
{/*<SettingsNavigator icon={Lock} title={selectedSettingENUM.Security} selected_setting={selectedSetting} setSelectedSettingF={setSelectedSettingF}/>*/}
<SettingsNavigator icon={ComponentIcon} title={selectedSettingENUM.Advanced} selected_setting={selectedSetting} setSelectedSettingF={setSelectedSettingF}/>
<SettingsNavigator icon={InformationCircleContained} title={selectedSettingENUM.About} selected_setting={selectedSetting} setSelectedSettingF={setSelectedSettingF}/>
</div>
Expand All @@ -68,8 +68,8 @@ const Settings: FunctionComponent<SettingsProps> = (props: SettingsProps) => {
return <GeneralSettings openDirectoryModal={() => setCDModalState(true)}/>
case selectedSettingENUM.Appearance:
return <AppearanceSettings />
case selectedSettingENUM.Security:
return <SecuritySettings />
//case selectedSettingENUM.Security:
// return <SecuritySettings />
case selectedSettingENUM.Advanced:
return <AdvancedSettings />
case selectedSettingENUM.About:
Expand Down

0 comments on commit a08a229

Please sign in to comment.