🐛 Fix multiple bugs and reformat code

This commit is contained in:
ajnart
2022-06-12 15:35:41 +02:00
parent 98eaee1234
commit df85fc6b7d
5 changed files with 85 additions and 77 deletions

View File

@@ -164,8 +164,9 @@ const AppShelf = (props: any) => {
</Accordion.Item>
) : null}
<Accordion.Item key="Downloads" label="Your downloads">
<ModuleMenu module={DownloadsModule} />
<Paper
p="lg"
radius="lg"
style={{
background: `rgba(${colorScheme === 'dark' ? '37, 38, 43,' : '255, 255, 255,'} \
${(config.settings.appOpacity || 100) / 100}`,
@@ -173,6 +174,7 @@ const AppShelf = (props: any) => {
${(config.settings.appOpacity || 100) / 100}`,
}}
>
<ModuleMenu module={DownloadsModule} />
<DownloadComponent />
</Paper>
</Accordion.Item>