[auth] Lint fix
This commit is contained in:
@@ -210,7 +210,7 @@ class _MenuItemWidgetState extends State<MenuItemWidget> {
|
||||
|
||||
Future<void> _onTap() async {
|
||||
if (executionStateNotifier.value == ExecutionState.inProgress ||
|
||||
executionStateNotifier.value == ExecutionState.successful) return;
|
||||
executionStateNotifier.value == ExecutionState.successful) {return;}
|
||||
_debouncer.run(
|
||||
() => Future(
|
||||
() {
|
||||
@@ -247,7 +247,7 @@ class _MenuItemWidgetState extends State<MenuItemWidget> {
|
||||
|
||||
void _onTapDown(details) {
|
||||
if (executionStateNotifier.value == ExecutionState.inProgress ||
|
||||
executionStateNotifier.value == ExecutionState.successful) return;
|
||||
executionStateNotifier.value == ExecutionState.successful) {return;}
|
||||
setState(() {
|
||||
if (widget.pressedColor == null) {
|
||||
hasPassedGestureCallbacks()
|
||||
@@ -265,7 +265,7 @@ class _MenuItemWidgetState extends State<MenuItemWidget> {
|
||||
|
||||
void _onTapUp(details) {
|
||||
if (executionStateNotifier.value == ExecutionState.inProgress ||
|
||||
executionStateNotifier.value == ExecutionState.successful) return;
|
||||
executionStateNotifier.value == ExecutionState.successful) {return;}
|
||||
Future.delayed(
|
||||
const Duration(milliseconds: 100),
|
||||
() => setState(() {
|
||||
@@ -276,7 +276,7 @@ class _MenuItemWidgetState extends State<MenuItemWidget> {
|
||||
|
||||
void _onCancel() {
|
||||
if (executionStateNotifier.value == ExecutionState.inProgress ||
|
||||
executionStateNotifier.value == ExecutionState.successful) return;
|
||||
executionStateNotifier.value == ExecutionState.successful) {return;}
|
||||
setState(() {
|
||||
menuItemColor = widget.menuItemColor;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user