forked from eatvio/eatvio_app
updated error handling, consultant rating layout and complaining logic
This commit is contained in:
@@ -17,7 +17,7 @@ class ProfileCubit extends Cubit<ProfileState> {
|
||||
required this.chatRepository,
|
||||
}) : super(const ProfileState.loading());
|
||||
|
||||
getProfileBySlug(String slug) async {
|
||||
Future<void> getProfileBySlug(String slug) async {
|
||||
try {
|
||||
emit(
|
||||
ProfileState.loaded(
|
||||
@@ -31,7 +31,7 @@ class ProfileCubit extends Cubit<ProfileState> {
|
||||
}
|
||||
}
|
||||
|
||||
getMyProfile({
|
||||
Future<void> getMyProfile({
|
||||
String period = '1',
|
||||
}) async {
|
||||
_currentPeriod = period;
|
||||
|
||||
Reference in New Issue
Block a user