Skip to content

Commit

Permalink
Local library screen - scanning improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
nukeop committed May 6, 2024
1 parent 5b9d21e commit 8d16227
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
17 changes: 7 additions & 10 deletions packages/app/app/components/LibraryView/LibraryFolders/index.js
Expand Up @@ -42,20 +42,19 @@ const LibraryFolders = ({
disabled={_.isEmpty(localFolders)}
loading={loading}
onClick={scanLocalFolders}
className={styles.refresh_icon}
/>
className={styles.refresh_icon} />
</Segment>
{
scanTotal &&
<Progress
className={styles.progress_bar}
value={scanProgress}
total={scanTotal}
progress='ratio'
/>
indicating
autoSuccess
progress='ratio' />
}
{
!_.isEmpty(localFolders) &&
{!_.isEmpty(localFolders) &&
<>
<Divider />
<List
Expand All @@ -68,15 +67,13 @@ const LibraryFolders = ({
<Icon
name='close'
onClick={() => onRemoveClick(folder)}
className={styles.folder_remove_icon}
/>
className={styles.folder_remove_icon} />
</List.Content>
<List.Content>{folder}</List.Content>
</List.Item>
))}
</List>
</>
}
</>}
</Segment>
);

Expand Down
Expand Up @@ -5,7 +5,6 @@
flex: 0 0 auto;

.add_folder {

}

.control_bar {
Expand All @@ -25,7 +24,7 @@
.progress_bar {
display: inline-block;
flex: 1;
margin: auto 0 auto 10px !important;
margin: 1em 0 0 0;
}

.folder_remove_icon {
Expand Down

0 comments on commit 8d16227

Please sign in to comment.