diff --git a/mobile/lib/ui/home/error_warning_header_widget.dart b/mobile/lib/ui/home/error_warning_header_widget.dart index b657db492f..ffda3f4c42 100644 --- a/mobile/lib/ui/home/error_warning_header_widget.dart +++ b/mobile/lib/ui/home/error_warning_header_widget.dart @@ -7,6 +7,7 @@ import 'package:photos/events/notification_event.dart'; import 'package:photos/events/sync_status_update_event.dart'; import "package:photos/generated/l10n.dart"; import 'package:photos/services/user_remote_flag_service.dart'; +import "package:photos/theme/ente_theme.dart"; import 'package:photos/ui/account/verify_recovery_page.dart'; import 'package:photos/ui/components/notification_widget.dart'; import 'package:photos/ui/home/header_error_widget.dart'; @@ -66,6 +67,12 @@ class _ErrorWarningHeaderState extends State { Widget build(BuildContext context) { return Column( children: [ + _showErrorBanner + ? Divider( + height: 8, + color: getEnteColorScheme(context).strokeFaint, + ) + : const SizedBox.shrink(), _showErrorBanner ? HeaderErrorWidget(error: _syncError) : const SizedBox.shrink(), diff --git a/mobile/lib/ui/home/home_app_bar_widget.dart b/mobile/lib/ui/home/home_app_bar_widget.dart index 31ed26db2f..0f535de5fe 100644 --- a/mobile/lib/ui/home/home_app_bar_widget.dart +++ b/mobile/lib/ui/home/home_app_bar_widget.dart @@ -76,13 +76,7 @@ class _HomeAppBarWidgetState extends State { @override AppBar build(BuildContext context) { - final colorScheme = getEnteColorScheme(context); return AppBar( - backgroundColor: colorScheme.backgroundElevated, - elevation: 4, - surfaceTintColor: Colors.transparent, - shadowColor: Colors.black.withOpacity(0.2), - clipBehavior: Clip.none, centerTitle: true, title: AnimatedSwitcher( duration: const Duration(milliseconds: 500),