Fix bugs related to the user table, privacy policy, and table filter.

This commit is contained in:
mohammad
2025-01-30 16:43:45 +03:00
parent e70b9ea9e2
commit b070884bd9
17 changed files with 454 additions and 321 deletions

View File

@ -62,6 +62,7 @@ class HomeBloc extends Bloc<HomeEvent, HomeState> {
emit(LoadingHome());
terms = await HomeApi().fetchTerms();
add(FetchPolicyEvent());
emit(PolicyAgreement());
} catch (e) {
return;
}
@ -71,6 +72,7 @@ class HomeBloc extends Bloc<HomeEvent, HomeState> {
try {
emit(LoadingHome());
policy = await HomeApi().fetchPolicy();
emit(PolicyAgreement());
} catch (e) {
return;
}