Commit 126b9adc authored by Ilham Maulana's avatar Ilham Maulana 💻

fix: loan list filter by user

parent 33e07cfe
......@@ -87,7 +87,10 @@ class _LoanList extends State<LoanList> {
itemCount: loans.length + 1,
itemBuilder: (context, index) {
if (index < loans.length) {
return LoanItem(loans.elementAt(index));
return LoanItem(
loans.elementAt(index),
user: loans.elementAt(index).user,
);
} else {
return Container(
padding: const EdgeInsets.all(10),
......
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