mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-10-21 18:03:45 +02:00
Reduced haptic feedback (consequential actions only)
This commit is contained in:
@@ -45,7 +45,7 @@ class _HomePageState extends State<HomePage> {
|
||||
NavigationDestination(icon: Icon(e.icon), label: e.title))
|
||||
.toList(),
|
||||
onDestinationSelected: (int index) {
|
||||
HapticFeedback.lightImpact();
|
||||
HapticFeedback.selectionClick();
|
||||
setState(() {
|
||||
if (index == 0) {
|
||||
selectedIndexHistory.clear();
|
||||
|
Reference in New Issue
Block a user