TF-2667 Use Username replace UserProfile
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
import 'package:core/presentation/state/failure.dart';
|
||||
import 'package:core/presentation/state/success.dart';
|
||||
import 'package:model/user/user_profile.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/user_name.dart';
|
||||
|
||||
class AuthenticationUserLoading extends LoadingState {}
|
||||
|
||||
class AuthenticationUserSuccess extends UIState {
|
||||
final UserProfile userProfile;
|
||||
final UserName userName;
|
||||
|
||||
AuthenticationUserSuccess(this.userProfile);
|
||||
AuthenticationUserSuccess(this.userName);
|
||||
|
||||
@override
|
||||
List<Object> get props => [userProfile];
|
||||
List<Object> get props => [userName];
|
||||
}
|
||||
|
||||
class AuthenticationUserFailure extends FeatureFailure {
|
||||
|
||||
Reference in New Issue
Block a user