feat: improve patient flow and pricing workflow

This commit is contained in:
egecankomur
2026-06-12 00:04:53 +03:00
parent e12587398b
commit b42f68214e
26 changed files with 1283 additions and 243 deletions
+10 -2
View File
@@ -78,10 +78,18 @@ class AuthNotifier extends StateNotifier<AuthState> {
}
}
Future<void> signIn(String email, String password) async {
Future<void> signIn(
String email,
String password, {
required bool rememberSession,
}) async {
state = state.copyWith(isLoading: true, clearError: true);
try {
final result = await _repo.login(email, password);
final result = await _repo.login(
email,
password,
rememberSession: rememberSession,
);
state = AuthState(
profile: result.user,
memberships: result.tenants,