Skip to content

Commit c108e66

Browse files
authored
fix: don't handle deeplink on login (#881)
1 parent 2acac74 commit c108e66

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

dogfooding/lib/app/app_content.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,14 @@ class _StreamDogFoodingAppContentState
183183
}
184184

185185
Future<void> _observeDeepLinks() async {
186+
if (kIsWeb) return;
187+
186188
// The app was in the background.
187-
if (!kIsWeb) {
188-
final deepLinkSubscription = AppLinks().uriLinkStream.listen((uri) {
189-
if (mounted) _handleDeepLink(uri);
190-
});
189+
final deepLinkSubscription = AppLinks().uriLinkStream.listen((uri) {
190+
if (mounted) _handleDeepLink(uri);
191+
});
191192

192-
_compositeSubscription.add(deepLinkSubscription);
193-
}
193+
_compositeSubscription.add(deepLinkSubscription);
194194

195195
// The app was terminated.
196196
try {

0 commit comments

Comments
 (0)