Add video details view (#956)

* Add Video details page to settings

* Add option A

* Refac remove option A

* Refac viewStyleType and viewStyleEnum

* Add viewStyle Table

* Refac remove unused code

* Refac show resolution in one cell
This commit is contained in:
Merlin
2025-06-05 05:19:16 +02:00
committed by GitHub
parent 436a641746
commit aa08701049
24 changed files with 332 additions and 107 deletions

View File

@@ -1,11 +1,18 @@
export type ViewStyleNamesType =
| 'view_style_home'
| 'view_style_channel'
| 'view_style_downloads'
| 'view_style_playlist';
export const ViewStyleNames = {
home: 'view_style_home',
channel: 'view_style_channel',
downloads: 'view_style_downloads',
playlist: 'view_style_playlist',
Home: 'view_style_home',
Channel: 'view_style_channel',
Downloads: 'view_style_downloads',
Playlist: 'view_style_playlist',
};
export const ViewStyles = {
grid: 'grid',
list: 'list',
export type ViewStylesType = 'grid' | 'list' | 'table';
export const ViewStylesEnum = {
Grid: 'grid',
List: 'list',
Table: 'table',
};