diff --git a/lib/screen/home/collection_home_page.dart b/lib/screen/home/collection_home_page.dart index 09af2b8d2..256b2f708 100644 --- a/lib/screen/home/collection_home_page.dart +++ b/lib/screen/home/collection_home_page.dart @@ -20,7 +20,6 @@ import 'package:autonomy_flutter/screen/home/home_state.dart'; import 'package:autonomy_flutter/screen/interactive_postcard/postcard_detail_page.dart'; import 'package:autonomy_flutter/service/account_service.dart'; import 'package:autonomy_flutter/service/autonomy_service.dart'; -import 'package:autonomy_flutter/service/canvas_client_service_v2.dart'; import 'package:autonomy_flutter/service/client_token_service.dart'; import 'package:autonomy_flutter/service/configuration_service.dart'; import 'package:autonomy_flutter/service/customer_support_service.dart'; @@ -78,7 +77,6 @@ class CollectionHomePageState extends State final nftBloc = injector().nftBloc; late bool _showPostcardBanner; final _identityBloc = injector(); - final _canvasClientServiceV2 = injector.get(); late CanvasDeviceBloc _canvasDeviceBloc; @override @@ -508,10 +506,8 @@ class CollectionHomePageState extends State switch (event) { case FGBGType.foreground: unawaited(_handleForeground()); - break; case FGBGType.background: _handleBackground(); - break; } } diff --git a/lib/util/ui_helper.dart b/lib/util/ui_helper.dart index 2a1a5162c..214e9e15a 100644 --- a/lib/util/ui_helper.dart +++ b/lib/util/ui_helper.dart @@ -46,7 +46,6 @@ import 'package:feralfile_app_theme/extensions/theme_extension/moma_sans.dart'; import 'package:feralfile_app_theme/feral_file_app_theme.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -import 'package:flutter/widgets.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:flutter_vibrate/flutter_vibrate.dart'; import 'package:jiffy/jiffy.dart'; diff --git a/lib/view/stream_device_view.dart b/lib/view/stream_device_view.dart index fc4b22330..9c2232edc 100644 --- a/lib/view/stream_device_view.dart +++ b/lib/view/stream_device_view.dart @@ -185,7 +185,7 @@ class _StreamDeviceViewState extends State { Future scanToAddMore(BuildContext context) async { final device = await Navigator.of(context) .pushNamed(AppRouter.scanQRPage, arguments: ScannerItem.CANVAS_DEVICE); - log.info('device selected: ${device}'); + log.info('device selected: $device'); _canvasDeviceBloc.add(CanvasDeviceGetDevicesEvent()); } diff --git a/pubspec.yaml b/pubspec.yaml index 9fd43fa91..9489d9ce7 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev version: 0.36.0+121 environment: - sdk: ">=2.17.0 <4.0.0" + sdk: ">=3.0.0 <4.0.0" dependencies: after_layout: ^1.2.0