Dark mode

This commit is contained in:
unknown 2018-07-31 16:14:33 +03:00
parent 1d282a1bef
commit 621e268cc7
2 changed files with 5 additions and 2 deletions

View File

@ -24,7 +24,7 @@ class ElevatedButton extends StatelessWidget {
text: label, text: label,
) )
: Text(label), : Text(label),
padding: EdgeInsets.only(top: 12.0, bottom: 12.0), //ppadding: EdgeInsets.only(top: 12.0, bottom: 12.0),
//textColor: Colors.white, //textColor: Colors.white,
elevation: 4.0, elevation: 4.0,
onPressed: () => this.onPressed(), onPressed: () => this.onPressed(),

View File

@ -268,7 +268,10 @@ class ContactEditDetailsState extends State<ContactEditDetails> {
ElevatedButton( ElevatedButton(
icon: Icons.check_circle, icon: Icons.check_circle,
label: localization.done, label: localization.done,
onPressed: () => Navigator.of(context).pop(), onPressed: () {
viewModel.onDoneContactPressed();
Navigator.of(context).pop();
},
), ),
], ],
) : Container(), ) : Container(),