Fix: Won’t try call favorite if none selected

This commit is contained in:
Cuong M. Tran 2024-03-07 09:26:40 +07:00 committed by Cuong Tran
parent a617528fda
commit 2df7f13e4e
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2

View file

@ -195,7 +195,7 @@ fun SelectionToolbar(
title = stringResource(MR.strings.action_bookmark),
icon = Icons.Outlined.BookmarkAdd,
onClick = {
// if (selectedCount > 0)
if (selectedCount > 0)
onChangeCategoryClicked()
},
),