Skip to content

Commit

Permalink
PAINTROID-454: Flutter: Add Layers - remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Lenkomotive committed Oct 9, 2024
1 parent b4d9680 commit 23485ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class BottomNavBar extends ConsumerWidget {
_showColorPicker(context, ref);
break;
case BottomNavBarItem.LAYERS:
_showLayerMenu(context, ref);
_showLayerMenu(ref);
default:
return;
}
Expand Down Expand Up @@ -136,7 +136,7 @@ class BottomNavBar extends ConsumerWidget {
);
}

void _showLayerMenu(BuildContext context, WidgetRef ref) {
void _showLayerMenu(WidgetRef ref) {
ref.read(layerMenuStateProvider.notifier).toggleVisibility();
}
}

0 comments on commit 23485ba

Please sign in to comment.