added unpin option for mixed pin state multiselect

This commit is contained in:
a5xwin
2025-09-11 20:40:52 +05:30
parent 920b3b1931
commit b877b0a4cc

View File

@@ -231,7 +231,6 @@ Widget _buildTrashSelectActions() {
// Determine the state of the current selection (pinned/unpinned)
final bool allArePinned = codesToUpdate.every((code) => code.isPinned);
final bool allAreUnpinned = codesToUpdate.every((code) => !code.isPinned);
if (allArePinned) {
// if all are pinned, unpin all