Fix button text color on login page w/light mode
This commit is contained in:
parent
b9dbf37246
commit
07b25a7b5f
|
|
@ -96,7 +96,7 @@ const dynamic kMockLogin = '''
|
||||||
"custom_value3": "",
|
"custom_value3": "",
|
||||||
"custom_value4": "",
|
"custom_value4": "",
|
||||||
"default_task_rate": 0,
|
"default_task_rate": 0,
|
||||||
"payment_terms": 1,
|
"payment_terms": "1",
|
||||||
"send_reminders": false,
|
"send_reminders": false,
|
||||||
"custom_message_dashboard": "",
|
"custom_message_dashboard": "",
|
||||||
"custom_message_unpaid_invoice": "",
|
"custom_message_unpaid_invoice": "",
|
||||||
|
|
|
||||||
|
|
@ -548,8 +548,10 @@ abstract class InvoiceEntity extends Object
|
||||||
|
|
||||||
if (!isQuote && !isCredit && isSent) {
|
if (!isQuote && !isCredit && isSent) {
|
||||||
actions.add(EntityAction.cancel);
|
actions.add(EntityAction.cancel);
|
||||||
|
if (userCompany.company.isModuleEnabled(EntityType.credit)) {
|
||||||
actions.add(EntityAction.reverse);
|
actions.add(EntityAction.reverse);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (isQuote && !isApproved) {
|
if (isQuote && !isApproved) {
|
||||||
actions.add(EntityAction.convert);
|
actions.add(EntityAction.convert);
|
||||||
|
|
|
||||||
|
|
@ -573,7 +573,7 @@ class _LoginState extends State<LoginView> {
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
if (_emailLogin)
|
if (_emailLogin)
|
||||||
Icon(Icons.mail)
|
Icon(Icons.mail, color: Colors.white)
|
||||||
else
|
else
|
||||||
ClipOval(
|
ClipOval(
|
||||||
child: Image.asset(
|
child: Image.asset(
|
||||||
|
|
@ -590,7 +590,8 @@ class _LoginState extends State<LoginView> {
|
||||||
: (_emailLogin
|
: (_emailLogin
|
||||||
? localization.emailSignIn
|
? localization.emailSignIn
|
||||||
: localization.googleSignIn),
|
: localization.googleSignIn),
|
||||||
style: TextStyle(fontSize: 18),
|
style:
|
||||||
|
TextStyle(fontSize: 18, color: Colors.white),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue