File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ class AuthenticationBloc
18
18
required HtAuthenticationRepository authenticationRepository,
19
19
}) : _authenticationRepository = authenticationRepository,
20
20
super (AuthenticationInitial ()) {
21
- on < AuthenticationUserChanged > (_onAuthenticationUserChanged);
22
21
on < AuthenticationEmailSignInRequested > (
23
22
_onAuthenticationEmailSignInRequested,
24
23
);
@@ -41,18 +40,6 @@ class AuthenticationBloc
41
40
final HtAuthenticationRepository _authenticationRepository;
42
41
late final StreamSubscription <User > _userSubscription;
43
42
44
- /// Handles [AuthenticationUserChanged] events.
45
- void _onAuthenticationUserChanged (
46
- AuthenticationUserChanged event,
47
- Emitter <AuthenticationState > emit,
48
- ) {
49
- if (event.user.isAnonymous) {
50
- emit (AuthenticationUnauthenticated ());
51
- } else {
52
- emit (AuthenticationAuthenticated (event.user));
53
- }
54
- }
55
-
56
43
/// Handles [AuthenticationEmailSignInRequested] events.
57
44
Future <void > _onAuthenticationEmailSignInRequested (
58
45
AuthenticationEmailSignInRequested event,
Original file line number Diff line number Diff line change 1
1
name : ht_main
2
2
description : main headlines toolkit mobile app.
3
- version : 0.31.0
3
+ version : 0.31.1
4
4
publish_to : none
5
5
repository : https://github.com/headlines-toolkit/ht-main
6
6
environment :
You can’t perform that action at this time.
0 commit comments