refactor: Enable more lints
This commit is contained in:
parent
b73030380e
commit
0dc147b5c8
31 changed files with 103 additions and 98 deletions
|
|
@ -26,7 +26,7 @@ class _LoginState extends State<Login> {
|
|||
bool showPassword = false;
|
||||
|
||||
void login(BuildContext context) async {
|
||||
var matrix = Matrix.of(context);
|
||||
final matrix = Matrix.of(context);
|
||||
if (usernameController.text.isEmpty) {
|
||||
setState(() => usernameError = L10n.of(context).pleaseEnterYourUsername);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue