Skip to content

Commit

Permalink
Fix analysis issues
Browse files Browse the repository at this point in the history
  • Loading branch information
famousj committed Nov 16, 2023
1 parent 4d6296a commit a3a75a7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example/lib/src/presentation/ui/auth/widgets/auth.dart
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class _AuthScreenState extends State<AuthScreen> {
child: ElevatedButton(
key: CustomWidgetsKeys.authScreenButtonConnect,
onPressed: () {
widget._bloc.add(AuthEvent.clickScanQrCode());
widget._bloc.add(const AuthEvent.clickScanQrCode());
},
style: CustomButtonStyle.primaryButtonStyle,
child: const Text(
Expand Down
3 changes: 2 additions & 1 deletion example/lib/src/presentation/ui/home/home_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import 'package:polygonid_flutter_sdk_example/src/presentation/ui/home/home_even
import 'package:polygonid_flutter_sdk_example/src/presentation/ui/home/home_state.dart';
import 'package:polygonid_flutter_sdk_example/utils/custom_strings.dart';
import 'package:polygonid_flutter_sdk_example/utils/secure_storage_keys.dart';
import 'package:polygonid_flutter_sdk/common/domain/domain_logger.dart';

class HomeBloc extends Bloc<HomeEvent, HomeState> {
final PolygonIdSdk _polygonIdSdk;
Expand Down Expand Up @@ -50,7 +51,7 @@ class HomeBloc extends Bloc<HomeEvent, HomeState> {
try {
PrivateIdentityEntity identity =
await _polygonIdSdk.identity.addIdentity();
print("identity: ${identity.privateKey}");
logger().i("identity: ${identity.privateKey}");
await SecureStorage.write(
key: SecureStorageKeys.privateKey, value: identity.privateKey);
emit(HomeState.loaded(identifier: identity.did));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:polygonid_flutter_sdk/common/data/data_sources/mappers/filters_mapper.dart';
import 'package:polygonid_flutter_sdk/common/domain/entities/filter_entity.dart';
import 'package:polygonid_flutter_sdk/iden3comm/data/data_sources/secure_storage_did_profile_info_data_source.dart';
import 'package:polygonid_flutter_sdk/iden3comm/data/mappers/didProfileInfoInteractedDidFilterMapper.dart';
import 'package:polygonid_flutter_sdk/iden3comm/data/mappers/did_profile_info_interacted_did_filter_mapper.dart';
import 'package:polygonid_flutter_sdk/iden3comm/domain/repositories/did_profile_info_repository.dart';

class DidProfileInfoRepositoryImpl implements DidProfileInfoRepository {
Expand Down

0 comments on commit a3a75a7

Please sign in to comment.