Skip to content

Commit 9bf386e

Browse files
authored
Merge branch 'develop' into 1212-bip85-ux
2 parents b83961b + 96ab843 commit 9bf386e

42 files changed

Lines changed: 1893 additions & 750 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/analyze_and_test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515

1616
- name: Install FVM
1717
run: |
18-
curl -fsSL https://fvm.app/install.sh | bash
19-
echo "$HOME/.pub-cache/bin" >> $GITHUB_PATH
18+
curl -fsSL https://fvm.app/install.sh | bash -s -- 4.0.5
19+
echo "$HOME/fvm/bin" >> $GITHUB_PATH
2020
2121
- run: make fvm-check
2222
- run: make clean

ARCHITECTURE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,11 @@ In this project, BLoCs/Cubits are used for state management, but other solutions
134134
- The **domain and presentation layer should use entities**, not models.
135135
- Only the **data layer should use models**, and transform them to entities.
136136

137+
### Rules for AI:
138+
- Always follow the architecture of the project when developing features.
139+
- Always use colors from the theme; never use raw colors. When the user explains something using raw color language; find the closest color in the theme and based on the application use a color from the theme that would make sense in dark mode too but do not try to change the color theme file by yourself ever.
140+
-
141+
137142
### Further reading
138143

139144
You can read more about Clean Architecture principles applied to Flutter in the following articles:

ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,6 @@ SPEC CHECKSUMS:
299299
webview_flutter_wkwebview: 8ebf4fded22593026f7dbff1fbff31ea98573c8d
300300
workmanager_apple: 904529ae31e97fc5be632cf628507652294a0778
301301

302-
PODFILE CHECKSUM: 7e0903dc12b56e645b82e75ed7bc9122a5ebdf18
302+
PODFILE CHECKSUM: cc3fb9f3ad75d6f5db35855d6f129b8b2fb2d9f5
303303

304304
COCOAPODS: 1.16.2

lib/core/exchange/data/datasources/bullbitcoin_api_datasource.dart

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ class BullbitcoinApiDatasource implements BitcoinPriceDatasource {
9393
throw 'Unable to fetch user summary from Bull Bitcoin API';
9494
}
9595

96-
print('BullbitcoinApiDatasource.getUserSummary API Response:');
97-
print(' Status Code: ${resp.statusCode}');
98-
print(' Response Data: ${resp.data}');
99-
print(' Result: ${resp.data['result']}');
100-
10196
final userSummary = UserSummaryModel.fromJson(
10297
resp.data['result'] as Map<String, dynamic>,
10398
);

lib/core/exchange/data/datasources/bullbitcoin_api_key_datasource.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import 'dart:convert';
22

33
import 'package:bb_mobile/core/exchange/data/models/api_key_model.dart';
44
import 'package:bb_mobile/core/storage/data/datasources/key_value_storage/key_value_storage_datasource.dart';
5-
import 'package:bb_mobile/core/utils/logger.dart';
5+
import 'package:bb_mobile/core/utils/logger.dart' show log;
66

77
class BullbitcoinApiKeyDatasource {
88
static const String _apiKeyStorageKey = 'exchange_api_key';

0 commit comments

Comments
 (0)