Commit a19ae843 authored by Ilham Maulana's avatar Ilham Maulana 💻

fix: card color for user info in loan item (admin access)

parent eac237ca
...@@ -44,9 +44,8 @@ class LoanItem extends StatelessWidget { ...@@ -44,9 +44,8 @@ class LoanItem extends StatelessWidget {
Offstage( Offstage(
offstage: user == null, offstage: user == null,
child: Card( child: Card(
color: Theme.of(context).primaryColor, color: Theme.of(context).canvasColor,
child: ListTile( child: ListTile(
textColor: Colors.white,
title: Text(user != null ? user!.username : ""), title: Text(user != null ? user!.username : ""),
subtitle: Text(user != null ? user!.email : ""), subtitle: Text(user != null ? user!.email : ""),
), ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment