feat(diary): add diary, calendar, meals, products, add product button, modal add product

This commit is contained in:
mso7nueh
2024-10-30 11:44:16 +03:00
parent 1883b93315
commit 784b550673
55 changed files with 867 additions and 1407 deletions

View File

@@ -22,7 +22,6 @@ class ProfileCubit extends Cubit<ProfileState> {
));
} catch (e) {
emit(ProfileState.error(errorMessage: e.toString()));
print(e);
}
}
@@ -41,7 +40,6 @@ class ProfileCubit extends Cubit<ProfileState> {
));
} catch (e) {
emit(ProfileState.error(errorMessage: e.toString()));
print(e);
}
}
@@ -59,7 +57,6 @@ class ProfileCubit extends Cubit<ProfileState> {
await getMyProfile(period: _currentPeriod);
} catch (e) {
emit(ProfileState.error(errorMessage: e.toString()));
print(e);
}
}
@@ -71,7 +68,6 @@ class ProfileCubit extends Cubit<ProfileState> {
await getMyProfile(period: _currentPeriod);
} catch (e) {
emit(ProfileState.error(errorMessage: e.toString()));
print(e);
}
}
@@ -81,7 +77,6 @@ class ProfileCubit extends Cubit<ProfileState> {
try {
return (await chatRepository.getChatRoomIdByUserSlug(slug: slug)).id;
} catch (e) {
print(e);
rethrow;
}
}