Dark mode
This commit is contained in:
parent
1d282a1bef
commit
621e268cc7
|
|
@ -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(),
|
||||||
|
|
|
||||||
|
|
@ -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(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue