@@ -102,7 +102,7 @@ class SessionCubit extends Cubit<SessionState> {
|
||||
user: user,
|
||||
company: company,
|
||||
currentStore: activeStore,
|
||||
currentStaff: staff,
|
||||
currentStaffMember: staff,
|
||||
onboardingStep: OnboardingStep.none, // Svuotiamo l'onboarding
|
||||
),
|
||||
);
|
||||
|
||||
@@ -42,7 +42,7 @@ class SessionState extends Equatable {
|
||||
User? user,
|
||||
CompanyModel? company,
|
||||
StoreModel? currentStore,
|
||||
StaffMemberModel? currentStaff,
|
||||
StaffMemberModel? currentStaffMember,
|
||||
OnboardingStep? onboardingStep,
|
||||
bool? isMobileDevice,
|
||||
}) {
|
||||
@@ -51,7 +51,7 @@ class SessionState extends Equatable {
|
||||
user: user ?? this.user,
|
||||
company: company ?? this.company,
|
||||
currentStore: currentStore ?? this.currentStore,
|
||||
currentStaffMember: currentStaff ?? this.currentStaffMember,
|
||||
currentStaffMember: currentStaffMember ?? this.currentStaffMember,
|
||||
onboardingStep: onboardingStep ?? this.onboardingStep,
|
||||
isMobileDevice: isMobileDevice ?? this.isMobileDevice,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user