Refactor dialogs, make it simple to add a new dialog to all views

This commit is contained in:
Deluan
2023-01-24 11:53:42 -05:00
parent 26be5b8396
commit 17d9573f4d
10 changed files with 14 additions and 28 deletions
-4
View File
@@ -24,11 +24,9 @@ import {
import AlbumListActions from './AlbumListActions'
import AlbumTableView from './AlbumTableView'
import AlbumGridView from './AlbumGridView'
import { AddToPlaylistDialog } from '../dialogs'
import albumLists, { defaultAlbumList } from './albumLists'
import config from '../config'
import AlbumInfo from './AlbumInfo'
import DownloadMenuDialog from '../dialogs/DownloadMenuDialog'
import ExpandInfoDialog from '../dialogs/ExpandInfoDialog'
const AlbumFilter = (props) => {
@@ -138,8 +136,6 @@ const AlbumList = (props) => {
<AlbumTableView {...props} />
)}
</List>
<AddToPlaylistDialog />
<DownloadMenuDialog />
<ExpandInfoDialog content={<AlbumInfo />} />
</>
)