Minor fixes

- Fix categories modal showing when adding from source with no categories
- Use old categories icon in library bottom action menu
This commit is contained in:
arkon
2022-08-06 16:23:13 -04:00
parent 9f0052eceb
commit 688cc64dff
4 changed files with 9 additions and 4 deletions

View File

@@ -23,6 +23,7 @@ import androidx.compose.material.icons.filled.DoneAll
import androidx.compose.material.icons.filled.RemoveDone
import androidx.compose.material.icons.outlined.Delete
import androidx.compose.material.icons.outlined.Download
import androidx.compose.material.icons.outlined.Label
import androidx.compose.material.ripple.rememberRipple
import androidx.compose.material3.Icon
import androidx.compose.material3.MaterialTheme
@@ -238,7 +239,7 @@ fun LibraryBottomActionMenu(
if (onChangeCategoryClicked != null) {
Button(
title = stringResource(R.string.action_move_category),
icon = Icons.Default.BookmarkAdd,
icon = Icons.Outlined.Label,
toConfirm = confirm[0],
onLongClick = { onLongClickItem(0) },
onClick = onChangeCategoryClicked,