Skip to content

Commit

Permalink
bump sdk version and translations
Browse files Browse the repository at this point in the history
  • Loading branch information
ubbabeck committed Oct 11, 2023
1 parent 352e147 commit a8b9afb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion lib/bloc/account/account_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ class AccountBloc extends Cubit<AccountState> with HydratedMixin {
}

Future<sdk.StaticBackupResponse> exportStaticChannelBackup() async {
_log.v("exportStaticChannelBackup");
_log.fine("exportStaticChannelBackup");
return _credentialsManager.exportStaticChannelBackup();
}

Expand Down
4 changes: 3 additions & 1 deletion lib/routes/dev/developers_view.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'dart:io';

import 'package:archive/archive_io.dart';
import 'package:breez_translations/breez_translations_locales.dart';
import 'package:c_breez/bloc/account/account_bloc.dart';
import 'package:c_breez/config.dart';
import 'package:c_breez/logger.dart';
Expand Down Expand Up @@ -116,6 +117,7 @@ class DevelopersView extends StatelessWidget {
}

void _exportStaticBackup(BuildContext context) async {
final texts = getSystemAppLocalizations();
final accBloc = context.read<AccountBloc>();
const name = "scb.recover";
final staticBackup = await accBloc.exportStaticChannelBackup();
Expand All @@ -134,7 +136,7 @@ class DevelopersView extends StatelessWidget {
Share.shareXFiles([storageFile]);
} else {
// ignore: use_build_context_synchronously
showFlushbar(context, title: "Static backup data is missing");
showFlushbar(context, title: texts.backup_export_static_error_data_missing);
}
}
}
12 changes: 2 additions & 10 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ packages:
dependency: "direct main"
description:
path: "."
ref: "0304720f24266d8c1e887c86d8e41e80bf217d92"
resolved-ref: "0304720f24266d8c1e887c86d8e41e80bf217d92"
ref: "782e52c6f272a4901ff85ecb76981085b355acd1"
resolved-ref: "782e52c6f272a4901ff85ecb76981085b355acd1"
url: "https://github.com/breez/Breez-Translations"
source: git
version: "1.0.0"
Expand Down Expand Up @@ -401,14 +401,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.9.3+1"
fimber:
dependency: transitive
description:
name: fimber
sha256: "42fcfa33acd43556c1e7ebfc12c2b03893418bc04a07931368c3573e228af2f0"
url: "https://pub.dev"
source: hosted
version: "0.7.0"
firebase_core:
dependency: "direct main"
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies:
breez_translations:
git:
url: https://github.com/breez/Breez-Translations
ref: 0304720f24266d8c1e887c86d8e41e80bf217d92
ref: 782e52c6f272a4901ff85ecb76981085b355acd1
clipboard_watcher: ^0.2.0
csv: ^5.0.2
connectivity_plus: ^4.0.2
Expand Down

0 comments on commit a8b9afb

Please sign in to comment.