refactor(chat): fix chat null

This commit is contained in:
mso7nueh
2024-07-31 15:35:14 +03:00
parent 6946060c86
commit 9cfd59b36f
6 changed files with 21 additions and 15 deletions

View File

@@ -19,6 +19,7 @@ import 'package:eatvio_app/features/registration/presentation/pages/weight_scree
import 'package:eatvio_app/locator_service.dart';
import 'package:eatvio_app/widgets/app_bar/appbar_title_image.dart';
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:validators/validators.dart';
class RegistrationScreen extends StatefulWidget {
@@ -103,7 +104,13 @@ class _RegistrationScreenState extends State<RegistrationScreen> {
],
),
appBar: AppBar(
automaticallyImplyLeading: true,
automaticallyImplyLeading: false,
leading: Builder(
builder: (context) => IconButton(
icon: Icon(Icons.close_rounded),
onPressed: () => GoRouter.of(context).pop(),
),
),
centerTitle: true,
title: AppbarTitleImage(imagePath: ImageConstant.imgLogoEatvio),
actions: [