fix profile
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart'; // 🔹 1. Добавлен импорт
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_localizations/flutter_localizations.dart';
|
||||
import 'package:bot_toast/bot_toast.dart';
|
||||
import 'package:be_happy/presentation/event/edit_profile_event.dart';
|
||||
import 'package:be_happy/presentation/event/profile_event.dart';
|
||||
@@ -69,6 +70,14 @@ class MyApp extends StatelessWidget {
|
||||
title: 'BeHappy',
|
||||
debugShowCheckedModeBanner: false,
|
||||
theme: ThemeData.dark(),
|
||||
localizationsDelegates: const [
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
GlobalCupertinoLocalizations.delegate,
|
||||
],
|
||||
supportedLocales: const [
|
||||
Locale('ru', 'RU'),
|
||||
],
|
||||
builder: BotToastInit(),
|
||||
routerConfig: appRouter.router,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user