Dark mode
This commit is contained in:
parent
1d282a1bef
commit
621e268cc7
|
|
@ -24,7 +24,7 @@ class ElevatedButton extends StatelessWidget {
|
|||
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,
|
||||
elevation: 4.0,
|
||||
onPressed: () => this.onPressed(),
|
||||
|
|
|
|||
|
|
@ -268,7 +268,10 @@ class ContactEditDetailsState extends State<ContactEditDetails> {
|
|||
ElevatedButton(
|
||||
icon: Icons.check_circle,
|
||||
label: localization.done,
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
onPressed: () {
|
||||
viewModel.onDoneContactPressed();
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
),
|
||||
],
|
||||
) : Container(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue