Skip to content

Commit

Permalink
fix: make analyzer happy
Browse files Browse the repository at this point in the history
  • Loading branch information
damian-molinski committed Oct 21, 2024
1 parent 5555b03 commit ddb87af
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions catalyst_voices/lib/app/view/app_session_listener.dart
Original file line number Diff line number Diff line change
@@ -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';

Expand Down Expand Up @@ -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,
Expand All @@ -65,5 +60,5 @@ class GlobalSessionListener extends StatelessWidget {
title: context.l10n.lockSnackbarTitle,
message: context.l10n.lockSnackbarMessage,
).show(context);
}
}*/
}

0 comments on commit ddb87af

Please sign in to comment.