diff --git a/android/build/reports/problems/problems-report.html b/android/build/reports/problems/problems-report.html index f21ab9cc..4921e6e4 100644 --- a/android/build/reports/problems/problems-report.html +++ b/android/build/reports/problems/problems-report.html @@ -650,12 +650,12 @@ code + .copy-button { diff --git a/lib/core/const.dart b/lib/core/const.dart index 618a9866..401c7365 100644 --- a/lib/core/const.dart +++ b/lib/core/const.dart @@ -1,4 +1,5 @@ -String baseUrl = 'https://eatvio.ru'; +// String baseUrl = 'https://eatvio.ru'; +String baseUrl = 'https://mobile-stage.eatvio.ru'; const List durationValues = [7, 14, 21]; diff --git a/lib/core/locator_service.dart b/lib/core/locator_service.dart index 9036809a..145a0fce 100644 --- a/lib/core/locator_service.dart +++ b/lib/core/locator_service.dart @@ -240,7 +240,6 @@ Future init() async { 'accept': 'application/json', 'content-type': 'application/json', }, - validateStatus: (status) => status != null && status < 500, ), )..interceptors.addAll( [ diff --git a/lib/features/auth/presentation/pages/auth_screen.dart b/lib/features/auth/presentation/pages/auth_screen.dart index 6b4ec260..10fb4172 100644 --- a/lib/features/auth/presentation/pages/auth_screen.dart +++ b/lib/features/auth/presentation/pages/auth_screen.dart @@ -79,6 +79,9 @@ class _AuthScreenState extends State { @override Widget build(BuildContext context) { + var shortestSide = MediaQuery.sizeOf(context).shortestSide; + final bool useMobileLayout = shortestSide < 600; + if (!useMobileLayout) isFocused = true; final s = S.of(context); FlutterNativeSplash.remove(); return BlocProvider( diff --git a/lib/features/chat/presentation/widgets/chat_bubble_widget.dart b/lib/features/chat/presentation/widgets/chat_bubble_widget.dart index dd6c7b4c..d2f5f1bd 100644 --- a/lib/features/chat/presentation/widgets/chat_bubble_widget.dart +++ b/lib/features/chat/presentation/widgets/chat_bubble_widget.dart @@ -89,17 +89,17 @@ class ChatBubbleWidget extends StatelessWidget { }, leading: const Icon( Icons.file_copy_outlined, - color: Colors.white, + color: Colors.black, ), trailing: const Icon( Icons.download_outlined, - color: Colors.white, + color: Colors.black, ), title: Text( mediaData[index].toString().replaceAll('chat_files/', ''), maxLines: 2, style: const TextStyle( - color: Colors.white, + color: Colors.black, fontSize: 12, overflow: TextOverflow.ellipsis, ),