From 6bcf349813939681c07616ae35e7d654722674a3 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sun, 16 May 2021 11:29:18 +0200 Subject: [PATCH] design: Minor design refactoring --- lib/views/ui/chat_ui.dart | 2 +- lib/views/ui/settings_ui.dart | 8 +------- lib/views/widgets/list_items/message.dart | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/lib/views/ui/chat_ui.dart b/lib/views/ui/chat_ui.dart index 67e3bb9df..a65cd9990 100644 --- a/lib/views/ui/chat_ui.dart +++ b/lib/views/ui/chat_ui.dart @@ -511,7 +511,7 @@ class ChatUI extends StatelessWidget { controller.room.membership == Membership.join ? Container( decoration: BoxDecoration( - color: Theme.of(context).backgroundColor, + color: Theme.of(context).scaffoldBackgroundColor, ), child: Row( crossAxisAlignment: CrossAxisAlignment.end, diff --git a/lib/views/ui/settings_ui.dart b/lib/views/ui/settings_ui.dart index e94e806f5..a6524f725 100644 --- a/lib/views/ui/settings_ui.dart +++ b/lib/views/ui/settings_ui.dart @@ -38,13 +38,7 @@ class SettingsUI extends StatelessWidget { expandedHeight: 300.0, floating: true, pinned: true, - title: Text(L10n.of(context).settings, - style: TextStyle( - color: Theme.of(context) - .appBarTheme - .textTheme - .headline6 - .color)), + title: Text(L10n.of(context).settings), actions: [ FutureBuilder( future: controller.crossSigningCachedFuture, diff --git a/lib/views/widgets/list_items/message.dart b/lib/views/widgets/list_items/message.dart index 27b978115..0ec5a3682 100644 --- a/lib/views/widgets/list_items/message.dart +++ b/lib/views/widgets/list_items/message.dart @@ -258,7 +258,7 @@ class _MetaRow extends StatelessWidget { Text( event.originServerTs.localizedTime(context), style: TextStyle( - color: color.withAlpha(164), + color: color.withAlpha(180), fontSize: 10 * AppConfig.fontSizeFactor, ), ),