Add vibration on folder items too

This commit is contained in:
Ensar Sarajčić 2023-08-25 09:46:51 +02:00
parent e5adb450c2
commit 1fcda210b6
1 changed files with 1 additions and 1 deletions

View File

@ -583,7 +583,7 @@ class MainActivity : SimpleActivity(), FlingListener {
}
private fun performItemLongClick(x: Float, clickedGridItem: HomeScreenGridItem) {
if (clickedGridItem.type == ITEM_TYPE_ICON || clickedGridItem.type == ITEM_TYPE_SHORTCUT) {
if (clickedGridItem.type == ITEM_TYPE_ICON || clickedGridItem.type == ITEM_TYPE_SHORTCUT || clickedGridItem.type == ITEM_TYPE_FOLDER) {
binding.mainHolder.performHapticFeedback()
}