feat(personalDiets): addde base url from app config for consultation widget

This commit is contained in:
misha
2025-10-31 13:23:13 +03:00
parent 16fccaea8e
commit 6ed7faed15
2 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
import 'package:eatvio_app/core/app_config.dart';
import 'package:eatvio_app/core/app_router.dart';
import 'package:eatvio_app/core/const.dart';
import 'package:eatvio_app/core/locator_service.dart';
import 'package:eatvio_app/core/theme/custom_text_style.dart';
import 'package:eatvio_app/core/theme/theme_helper.dart';
import 'package:eatvio_app/core/widgets/bottom_sheet_handler_bar.dart';
@@ -32,7 +33,7 @@ class ConsultationWidget extends StatelessWidget {
children: [
CircleAvatar(
radius: 30,
backgroundImage: NetworkImage(baseUrl + consultationModel.userProfilePhotoUrl),
backgroundImage: NetworkImage(sl<AppConfig>().baseUrl + consultationModel.userProfilePhotoUrl),
),
const SizedBox(width: 12),
Column(
@@ -61,7 +62,7 @@ class ConsultationWidget extends StatelessWidget {
children: [
CircleAvatar(
radius: 30,
backgroundImage: NetworkImage(baseUrl + consultationModel.userProfilePhotoUrl),
backgroundImage: NetworkImage(sl<AppConfig>().baseUrl + consultationModel.userProfilePhotoUrl),
),
const SizedBox(width: 12),
Column(

View File

@@ -407,8 +407,7 @@
"allowAccess": "Разрешить доступ" ,
"copy": "Скопировать",
"reply": "Ответить",
"deleteComment": "Удалить комментарий"
,
"deleteComment": "Удалить комментарий",
"personalDietCreating": "Составление индивидуальной диеты",
"dietSuggestion": "Предложение диеты",
"suggestDiet": "Предложить диету",