fix duplicate pins (#1566)

This commit is contained in:
leekleak
2025-07-27 16:51:49 +02:00
committed by GitHub
parent 341259d09f
commit 457a924a51
4 changed files with 12 additions and 5 deletions
@@ -119,10 +119,13 @@ fun EditFavoritesSheet(
.align(Alignment.Center)
)
}
} else if (createShortcutTarget != null) {
ShortcutPicker(viewModel, it)
} else {
ReorderFavoritesGrid(viewModel, it)
if (createShortcutTarget != null) {
BottomSheetDialog({viewModel.cancelPickShortcut()}) {
ShortcutPicker(viewModel, it)
}
}
}
}
}