mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-04 23:59:24 +00:00
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:
@@ -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',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user