Skip to content

Commit

Permalink
Update dependencies to latest
Browse files Browse the repository at this point in the history
Apply readability changes
  • Loading branch information
erdemyerebasmaz committed Mar 25, 2024
1 parent 7364d52 commit 64bb3d3
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 20 deletions.
15 changes: 6 additions & 9 deletions lib/bloc/error_report_bloc/error_report_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,13 @@ class ErrorReportBloc extends Cubit<int> {

void reportError(String paymentHash, String comment) {
_log.info("Reporting error for paymentHash: $paymentHash, comment: $comment");
_breezSDK
.reportIssue(
req: ReportIssueRequest.paymentFailure(
data: ReportPaymentFailureDetails(
paymentHash: paymentHash,
comment: comment,
),
var req = ReportIssueRequest.paymentFailure(
data: ReportPaymentFailureDetails(
paymentHash: paymentHash,
comment: comment,
),
)
.then((value) {
);
_breezSDK.reportIssue(req: req).then((value) {
_log.info("Reported error for paymentHash: $paymentHash, comment: $comment");
emit(state + 1);
}, onError: (error) {
Expand Down
10 changes: 7 additions & 3 deletions lib/routes/home/widgets/app_bar/account_required_actions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,13 @@ class AccountRequiredActionsIndicator extends StatelessWidget {
warnings.add(
WarningAction(
() {
navigatorState.push(MaterialPageRoute(
builder: (_) => GetRefundPage(refundBloc: refundBloc),
));
navigatorState.push(
MaterialPageRoute(
builder: (_) => GetRefundPage(
refundBloc: refundBloc,
),
),
);
},
),
);
Expand Down
12 changes: 6 additions & 6 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ packages:
dependency: transitive
description:
name: bloc
sha256: f53a110e3b48dcd78136c10daa5d51512443cea5e1348c9d80a320095fa2db9e
sha256: "106842ad6569f0b60297619e9e0b1885c2fb9bf84812935490e6c5275777804e"
url: "https://pub.dev"
source: hosted
version: "8.1.3"
version: "8.1.4"
boolean_selector:
dependency: transitive
description:
Expand Down Expand Up @@ -498,10 +498,10 @@ packages:
dependency: "direct main"
description:
name: flutter_bloc
sha256: "87325da1ac757fcc4813e6b34ed5dd61169973871fdf181d6c2109dd6935ece1"
sha256: f0ecf6e6eb955193ca60af2d5ca39565a86b8a142452c5b24d96fb477428f4d2
url: "https://pub.dev"
source: hosted
version: "8.1.4"
version: "8.1.5"
flutter_driver:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -829,10 +829,10 @@ packages:
dependency: "direct main"
description:
name: hydrated_bloc
sha256: "00a2099680162e74b5a836b8a7f446e478520a9cae9f6032e028ad8129f4432d"
sha256: af35b357739fe41728df10bec03aad422cdc725a1e702e03af9d2a41ea05160c
url: "https://pub.dev"
source: hosted
version: "9.1.4"
version: "9.1.5"
image:
dependency: "direct main"
description:
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ dependencies:
firebase_dynamic_links: ^5.4.18
# Doesn't support: Linux Windows
firebase_messaging: ^14.7.20
flutter_bloc: ^8.1.4
flutter_bloc: ^8.1.5
# Doesn't support: Linux Mac Windows
flutter_fgbg:
git:
Expand All @@ -58,7 +58,7 @@ dependencies:
git_info: ^1.1.2
hex: ^0.2.0
http: ^1.2.1
hydrated_bloc: ^9.1.4
hydrated_bloc: ^9.1.5
image: ^4.1.7
# Doesn't support: Linux Mac Windows
image_cropper: ^5.0.1
Expand Down

0 comments on commit 64bb3d3

Please sign in to comment.