feat: Add numerous repository implementations, cubits, and core utilities across various features, and update dependencies.

This commit is contained in:
mso7nueh
2026-02-02 14:24:17 +03:00
parent ac5504a514
commit 278f4d7e10
45 changed files with 602 additions and 292 deletions

View File

@@ -1,5 +1,6 @@
import 'package:dio/dio.dart';
import 'package:eatvio_app/core/app_config.dart';
import 'package:sentry_flutter/sentry_flutter.dart';
import 'package:eatvio_app/core/const.dart';
import 'package:eatvio_app/core/theme/custom_text_style.dart';
import 'package:eatvio_app/core/token_storage.dart';
@@ -142,6 +143,8 @@ class MenuScreen extends StatelessWidget {
onPressed: () async {
try {
await sl<Dio>().post('${sl<AppConfig>().baseUrl}/api/profile/logout');
} catch (e, s) {
await Sentry.captureException(e, stackTrace: s);
} finally {
await sl<WsManager>().clear();
await TokenStorage.removeTokenInStorage();