diff --git a/lib/main.dart b/lib/main.dart index bb44336..48f0cb2 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -5,7 +5,6 @@ import 'package:foodly_ui/screens/onboarding/onboarding_scrreen.dart'; void main() { runApp(DevicePreview( - enabled: false, builder: (context) => const MyApp(), )); } diff --git a/lib/screens/auth/components/sign_in_form.dart b/lib/screens/auth/components/sign_in_form.dart index d8fb8ea..5df6801 100644 --- a/lib/screens/auth/components/sign_in_form.dart +++ b/lib/screens/auth/components/sign_in_form.dart @@ -72,9 +72,8 @@ class _SignInFormState extends State { const SizedBox(height: defaultPadding), // Sign In Button - PrimaryButton( - text: "Sign In", - press: () { + ElevatedButton( + onPressed: () { if (_formKey.currentState!.validate()) { _formKey.currentState!.save(); @@ -88,7 +87,8 @@ class _SignInFormState extends State { ); } }, - ) + child: Text("Sign In"), + ), ], ), );