mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
fix merge errors
This commit is contained in:
@@ -21,28 +21,21 @@ const Sidebar = ({ isDrawerOpen, setIsDonationDialogOpen, isOffline, isLoading }
|
|||||||
<AppSidebarStyle isDrawerOpen={isDrawerOpen}>
|
<AppSidebarStyle isDrawerOpen={isDrawerOpen}>
|
||||||
<List>
|
<List>
|
||||||
<AddDialogButton isOffline={isOffline} isLoading={isLoading} />
|
<AddDialogButton isOffline={isOffline} isLoading={isLoading} />
|
||||||
|
|
||||||
<RemoveAll isOffline={isOffline} isLoading={isLoading} />
|
<RemoveAll isOffline={isOffline} isLoading={isLoading} />
|
||||||
</List>
|
</List>
|
||||||
|
|
||||||
<Divider />
|
<Divider />
|
||||||
|
|
||||||
<List>
|
<List>
|
||||||
<SettingsDialog />
|
<SettingsDialog />
|
||||||
<CloseServer isOffline={isOffline} isLoading={isLoading} />
|
|
||||||
</List>
|
</List>
|
||||||
|
|
||||||
<Divider />
|
|
||||||
|
|
||||||
<List>
|
<List>
|
||||||
<AboutDialog />
|
<AboutDialog />
|
||||||
|
|
||||||
<ListItem button onClick={() => setIsDonationDialogOpen(true)}>
|
<ListItem button onClick={() => setIsDonationDialogOpen(true)}>
|
||||||
<ListItemIcon>
|
<ListItemIcon>
|
||||||
<CreditCardIcon />
|
<CreditCardIcon />
|
||||||
</ListItemIcon>
|
</ListItemIcon>
|
||||||
<ListItemText primary={t('Donate')} />
|
<ListItemText primary={t('Donate')} />
|
||||||
</ListItem>
|
</ListItem>
|
||||||
|
<CloseServer isOffline={isOffline} isLoading={isLoading} />
|
||||||
</List>
|
</List>
|
||||||
</AppSidebarStyle>
|
</AppSidebarStyle>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -93,14 +93,19 @@ export default function App() {
|
|||||||
|
|
||||||
<div style={{ justifySelf: 'end' }}>
|
<div style={{ justifySelf: 'end' }}>
|
||||||
<LanguageSwitch onClick={() => (currentLang === 'en' ? changeLang('ru') : changeLang('en'))}>
|
<LanguageSwitch onClick={() => (currentLang === 'en' ? changeLang('ru') : changeLang('en'))}>
|
||||||
{currentLang === 'en' ? 'ru' : 'en'}
|
{currentLang === 'en' ? 'RU' : 'EN'}
|
||||||
</LanguageSwitch>
|
</LanguageSwitch>
|
||||||
</div>
|
</div>
|
||||||
</AppHeader>
|
</AppHeader>
|
||||||
<ThemeProvider theme={darkTheme}>
|
<ThemeProvider theme={darkTheme}>
|
||||||
<Sidebar isDrawerOpen={isDrawerOpen} setIsDonationDialogOpen={setIsDonationDialogOpen} />
|
<Sidebar
|
||||||
|
isOffline={isOffline}
|
||||||
|
isLoading={isLoading}
|
||||||
|
isDrawerOpen={isDrawerOpen}
|
||||||
|
setIsDonationDialogOpen={setIsDonationDialogOpen}
|
||||||
|
/>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
<TorrentList />
|
<TorrentList isOffline={isOffline} torrents={torrents} isLoading={isLoading} />
|
||||||
<ThemeProvider theme={lightTheme}>
|
<ThemeProvider theme={lightTheme}>
|
||||||
{isDonationDialogOpen && <DonateDialog onClose={() => setIsDonationDialogOpen(false)} />}
|
{isDonationDialogOpen && <DonateDialog onClose={() => setIsDonationDialogOpen(false)} />}
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
|
|||||||
@@ -86,5 +86,6 @@ export const LanguageSwitch = styled.div`
|
|||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
height: 28px;
|
height: 28px;
|
||||||
width: 28px;
|
width: 28px;
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
Reference in New Issue
Block a user