@@ -5,11 +5,10 @@ import 'package:flutter/material.dart';
55import 'package:flutter/scheduler.dart' ;
66import 'package:flutter_bloc/flutter_bloc.dart' ;
77import 'package:flutter_form_builder/flutter_form_builder.dart' ;
8- import 'package:mobile_scanner/mobile_scanner.dart' ;
9- import 'package:thingsboard_app/generated/l10n.dart' ;
108import 'package:flutter_svg/flutter_svg.dart' ;
119import 'package:form_builder_validators/form_builder_validators.dart' ;
1210import 'package:material_design_icons_flutter/material_design_icons_flutter.dart' ;
11+ import 'package:mobile_scanner/mobile_scanner.dart' ;
1312import 'package:thingsboard_app/config/routes/router.dart' ;
1413import 'package:thingsboard_app/constants/assets_path.dart' ;
1514import 'package:thingsboard_app/core/auth/login/bloc/bloc.dart' ;
@@ -19,6 +18,7 @@ import 'package:thingsboard_app/core/auth/login/select_region/choose_region_scre
1918import 'package:thingsboard_app/core/auth/login/select_region/model/region.dart' ;
2019import 'package:thingsboard_app/core/auth/oauth2/i_oauth2_client.dart' ;
2120import 'package:thingsboard_app/core/context/tb_context_widget.dart' ;
21+ import 'package:thingsboard_app/generated/l10n.dart' ;
2222import 'package:thingsboard_app/locator.dart' ;
2323import 'package:thingsboard_app/thingsboard_client.dart' ;
2424import 'package:thingsboard_app/utils/services/device_info/i_device_info_service.dart' ;
@@ -540,7 +540,7 @@ class _LoginPageState extends TbPageState<LoginPage>
540540 Expanded (
541541 child: OutlinedButton (
542542 style: _oauth2IconButtonStyle,
543- onPressed: () async => _onLoginWithBarcode (context),
543+ onPressed: () => _onLoginWithBarcode (context),
544544 child: SvgPicture .asset (
545545 ThingsboardImage .oauth2Logos['qr-code' ]! ,
546546 height: 24 ,
0 commit comments