vibrate if the wanted icon spot is occupied

This commit is contained in:
tibbi 2022-09-26 23:01:20 +02:00
parent a0bed4040a
commit 54fd9eed50
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import android.text.TextUtils
import android.util.AttributeSet
import android.view.View
import com.simplemobiletools.commons.extensions.navigationBarHeight
import com.simplemobiletools.commons.extensions.performHapticFeedback
import com.simplemobiletools.commons.extensions.statusBarHeight
import com.simplemobiletools.commons.helpers.ensureBackgroundThread
import com.simplemobiletools.launcher.R
@ -171,6 +172,7 @@ class HomeScreenGrid(context: Context, attrs: AttributeSet, defStyle: Int) : Vie
}
}
} else {
performHapticFeedback()
redrawIcons = true
}
}