Fix button text color on login page w/light mode

This commit is contained in:
Hillel Coren 2020-05-27 21:03:16 +03:00
parent b9dbf37246
commit 07b25a7b5f
3 changed files with 7 additions and 4 deletions

View File

@ -96,7 +96,7 @@ const dynamic kMockLogin = '''
"custom_value3": "",
"custom_value4": "",
"default_task_rate": 0,
"payment_terms": 1,
"payment_terms": "1",
"send_reminders": false,
"custom_message_dashboard": "",
"custom_message_unpaid_invoice": "",

View File

@ -548,7 +548,9 @@ abstract class InvoiceEntity extends Object
if (!isQuote && !isCredit && isSent) {
actions.add(EntityAction.cancel);
actions.add(EntityAction.reverse);
if (userCompany.company.isModuleEnabled(EntityType.credit)) {
actions.add(EntityAction.reverse);
}
}
if (isQuote && !isApproved) {

View File

@ -573,7 +573,7 @@ class _LoginState extends State<LoginView> {
mainAxisSize: MainAxisSize.min,
children: [
if (_emailLogin)
Icon(Icons.mail)
Icon(Icons.mail, color: Colors.white)
else
ClipOval(
child: Image.asset(
@ -590,7 +590,8 @@ class _LoginState extends State<LoginView> {
: (_emailLogin
? localization.emailSignIn
: localization.googleSignIn),
style: TextStyle(fontSize: 18),
style:
TextStyle(fontSize: 18, color: Colors.white),
)
],
),