Clean up code warnings
This commit is contained in:
parent
6150dcff68
commit
248e8be2a6
|
|
@ -38,7 +38,7 @@ class LockScreen extends StatelessWidget {
|
|||
),
|
||||
],
|
||||
),
|
||||
RaisedButton(
|
||||
ElevatedButton(
|
||||
onPressed: onAuthenticatePressed,
|
||||
child: Text(localization.authenticate),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import 'dart:async';
|
||||
import 'dart:convert';
|
||||
import 'dart:io';
|
||||
import 'package:flutter_styled_toast/flutter_styled_toast.dart';
|
||||
import 'package:invoiceninja_flutter/redux/app/app_actions.dart';
|
||||
import 'package:invoiceninja_flutter/ui/app/forms/app_dropdown_button.dart';
|
||||
|
|
@ -572,29 +571,30 @@ class _EnableTwoFactorState extends State<_EnableTwoFactor> {
|
|||
),
|
||||
],
|
||||
),
|
||||
if (false)
|
||||
Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: DecoratedFormField(
|
||||
label: localzation.smsCode,
|
||||
onChanged: (value) {
|
||||
_smsCode = value;
|
||||
},
|
||||
),
|
||||
/*
|
||||
Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: DecoratedFormField(
|
||||
label: localzation.smsCode,
|
||||
onChanged: (value) {
|
||||
_smsCode = value;
|
||||
},
|
||||
),
|
||||
SizedBox(width: kTableColumnGap),
|
||||
SizedBox(
|
||||
width: 100,
|
||||
child: TextButton(
|
||||
onPressed: () {
|
||||
//
|
||||
},
|
||||
child: Text(localzation.sendSms),
|
||||
),
|
||||
),
|
||||
SizedBox(width: kTableColumnGap),
|
||||
SizedBox(
|
||||
width: 100,
|
||||
child: TextButton(
|
||||
onPressed: () {
|
||||
//
|
||||
},
|
||||
child: Text(localzation.sendSms),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
*/
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
|
|
@ -222,9 +222,7 @@ class ContactsPageState extends State<ContactsPage>
|
|||
|
||||
items.add(Padding(
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: RaisedButton(
|
||||
elevation: 4.0,
|
||||
textColor: Theme.of(context).secondaryHeaderColor,
|
||||
child: ElevatedButton(
|
||||
child: Text('ADD CONTACT'),
|
||||
onPressed: _onAddPressed,
|
||||
),
|
||||
|
|
|
|||
|
|
@ -257,9 +257,7 @@ class ContactsPage extends StatelessWidget {
|
|||
..addAll(contacts)
|
||||
..add(Padding(
|
||||
padding: const EdgeInsets.all(16),
|
||||
child: RaisedButton(
|
||||
elevation: 4.0,
|
||||
textColor: Theme.of(context).secondaryHeaderColor,
|
||||
child: ElevatedButton(
|
||||
child: Text('ADD CONTACT'),
|
||||
onPressed: () {
|
||||
store.dispatch(AddContact());
|
||||
|
|
|
|||
Loading…
Reference in New Issue