Skip to content

Commit

Permalink
Fix App Crash on sign in screen (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sneha-s authored Apr 3, 2024
1 parent 3493a21 commit 1859590
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ui/sign_in/sign_in_screen.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'dart:io';

import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
Expand Down Expand Up @@ -107,7 +108,7 @@ class SignInScreenState extends State<SignInScreen> {
const SizedBox(
height: 20,
),
if (Platform.isIOS) const AppleSignInButton()
if (kIsWeb || Platform.isIOS) const AppleSignInButton()
],
),
),
Expand Down

0 comments on commit 1859590

Please sign in to comment.