fix: email verify + consultant registration

This commit is contained in:
mso7nueh
2025-06-04 15:26:34 +03:00
parent cf6ad1eafe
commit cacfaff4cf
13 changed files with 87 additions and 67 deletions

View File

@@ -379,7 +379,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
),
);
} else {
if (state.consultationRequestModel!.canceledModeration.status == ModerationStatus.created) {
if (state.consultationRequestModel!.educationModel.requestState == ModerationStatus.created) {
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 16) + const EdgeInsets.only(bottom: 8),
child: Ink(
@@ -391,7 +391,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
),
child: const Center(
child: Text(
'Данные на проверке...',
'Данные на проверке',
style: TextStyle(
color: Colors.black,
height: 1,
@@ -401,7 +401,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
),
),
);
} else if (state.consultationRequestModel!.canceledModeration.status == ModerationStatus.canceled) {
} else if (state.consultationRequestModel!.educationModel.requestState == ModerationStatus.canceled) {
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 16) + const EdgeInsets.only(bottom: 8),
child: InkWell(