Multiple states for chatRoom select

This commit is contained in:
2024-04-25 14:13:52 +03:00
parent 6db3caf969
commit f5ac02c020
4 changed files with 120 additions and 92 deletions

View File

@@ -34,7 +34,7 @@ class MyProfileBloc extends Bloc<MyProfileEvent, MyProfileState> {
); // Если токен есть, запускаем приложение
}
//final token =
// "9|laravel_sanctum_KFXbccDcWEvTPfJmV99EQv1neAggmpR2TidVGDPN34fa201a";
// "9|laravel_sanctum_KFXbccDcWEvTPfJmV99EQv1ne AggmpR2TidVGDPN34fa201a";
final response = await http.get(
Uri.parse(dotenv.env['SERVER_ROOT']! + '/profile/index'),
headers: {
@@ -95,6 +95,7 @@ class MyProfileBloc extends Bloc<MyProfileEvent, MyProfileState> {
selectedCity: currentState.selectedCity,
selectedCountry: currentState.selectedCountry,
selectedActivity: currentState.selectedActivity,
myProfileModelObj: currentState.myProfileModelObj,
));
} else {
var plans = []