This commit is contained in:
@@ -60,12 +60,7 @@ class _AuthScreenState extends State<AuthScreen> {
|
||||
return;
|
||||
}
|
||||
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
const SnackBar(
|
||||
content: Text('Invalid username or password'),
|
||||
behavior: SnackBarBehavior.floating,
|
||||
),
|
||||
);
|
||||
displayErrorMessage(context, 'Invalid username or password', clear: true);
|
||||
}
|
||||
|
||||
return Scaffold(
|
||||
|
@@ -116,6 +116,7 @@ class AppDropdownFormField<T> extends StatelessWidget {
|
||||
decoration: createCommonDecoration(
|
||||
scheme,
|
||||
labelText ?? "",
|
||||
filled: true,
|
||||
icon: prefixIcon,
|
||||
),
|
||||
dropdownColor: dropdownColor ?? effectiveFill,
|
||||
|
Reference in New Issue
Block a user