From ddb87af4f467e5a58fc78852cc3bd0d93cc241eb Mon Sep 17 00:00:00 2001 From: Damian Molinski Date: Mon, 21 Oct 2024 16:55:25 +0200 Subject: [PATCH] fix: make analyzer happy --- .../lib/app/view/app_session_listener.dart | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/catalyst_voices/lib/app/view/app_session_listener.dart b/catalyst_voices/lib/app/view/app_session_listener.dart index a1f52b330a7..93934de209c 100644 --- a/catalyst_voices/lib/app/view/app_session_listener.dart +++ b/catalyst_voices/lib/app/view/app_session_listener.dart @@ -1,8 +1,4 @@ -import 'package:catalyst_voices/widgets/snackbar/voices_snackbar.dart'; -import 'package:catalyst_voices/widgets/snackbar/voices_snackbar_type.dart'; -import 'package:catalyst_voices_assets/catalyst_voices_assets.dart'; import 'package:catalyst_voices_blocs/catalyst_voices_blocs.dart'; -import 'package:catalyst_voices_localization/catalyst_voices_localization.dart'; import 'package:flutter/material.dart'; import 'package:flutter_bloc/flutter_bloc.dart'; @@ -39,15 +35,14 @@ class GlobalSessionListener extends StatelessWidget { void _onSessionChanged(BuildContext context, SessionState state) { // Note. Out of scope for MVE1 - return; - if (state is ActiveUserSessionState) { + /*if (state is ActiveUserSessionState) { _onUnlockedKeychain(context); } else if (state is GuestSessionState) { _onLockedKeychain(context); - } + }*/ } - void _onUnlockedKeychain(BuildContext context) { + /*void _onUnlockedKeychain(BuildContext context) { VoicesSnackBar( type: VoicesSnackBarType.success, behavior: SnackBarBehavior.floating, @@ -65,5 +60,5 @@ class GlobalSessionListener extends StatelessWidget { title: context.l10n.lockSnackbarTitle, message: context.l10n.lockSnackbarMessage, ).show(context); - } + }*/ }