Skip to content

Commit bdb1d41

Browse files
committed
use const http constructor
1 parent 3af79fd commit bdb1d41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/price.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ class PriceAPI {
202202

203203
static Future<List<String>?> availableBaseCurrencies() async {
204204
final externalCalls = Prefs.instance.externalCalls;
205-
final HTTP client = HTTP();
205+
const client = HTTP();
206206

207207
if ((!Util.isTestEnv && !externalCalls) ||
208208
!(await Prefs.instance.isExternalCallsSet())) {

0 commit comments

Comments
 (0)