Skip to content

Commit

Permalink
fix: remove unnecessary if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
dshukertjr committed Jun 18, 2022
1 parent 0d70ab3 commit 7fa0572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/supabase_auth.dart
Expand Up @@ -196,7 +196,7 @@ class SupabaseAuth with WidgetsBindingObserver {
/// Automatically called on dispose().
void _stopDeeplinkObserver() {
Supabase.instance.log('***** SupabaseDeepLinkingMixin stopAuthObserver');
if (_deeplinkSubscription != null) _deeplinkSubscription?.cancel();
_deeplinkSubscription?.cancel();
}

/// Handle incoming links - the ones that the app will recieve from the OS
Expand Down

0 comments on commit 7fa0572

Please sign in to comment.