urca non ci credo, potrebbe già funzionare

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-26 16:29:31 +02:00
parent 1d3a685368
commit 6cbf0479a1
9 changed files with 297 additions and 101 deletions

View File

@@ -22,7 +22,7 @@ class SessionState extends Equatable {
final User? user; // Utente di Supabase Auth
final CompanyModel? company;
final StoreModel? currentStore;
final StaffMemberModel? currentStaff;
final StaffMemberModel? currentStaffMember;
final OnboardingStep onboardingStep;
final bool isMobileDevice;
@@ -31,7 +31,7 @@ class SessionState extends Equatable {
this.user,
this.company,
this.currentStore,
this.currentStaff,
this.currentStaffMember,
this.onboardingStep = OnboardingStep.none,
this.isMobileDevice = false,
});
@@ -51,7 +51,7 @@ class SessionState extends Equatable {
user: user ?? this.user,
company: company ?? this.company,
currentStore: currentStore ?? this.currentStore,
currentStaff: currentStaff ?? this.currentStaff,
currentStaffMember: currentStaff ?? this.currentStaffMember,
onboardingStep: onboardingStep ?? this.onboardingStep,
isMobileDevice: isMobileDevice ?? this.isMobileDevice,
);
@@ -63,7 +63,7 @@ class SessionState extends Equatable {
user,
company,
currentStore,
currentStaff,
currentStaffMember,
onboardingStep,
isMobileDevice,
];