updating UI inconsistency

This commit is contained in:
2026-06-24 19:11:33 +02:00
parent 57358f6233
commit 263c10d2bb
2 changed files with 65 additions and 6 deletions

View File

@@ -77,10 +77,10 @@ class BatchController extends ChangeNotifier {
return query.substring(0, query.length - 1);
}
Future<ApiResponse<List<BillProvider>>> loadProviders() async {
Future<ApiResponse<List<BillProvider>>> loadProviders(String currency) async {
try {
final raw = await http.get(
'/public/providers?currency=USD&sort=priority,asc',
'/public/providers?currency=$currency&sort=priority,asc',
);
final response = _unwrap(raw);
final List<dynamic> content;