design: Minor design refactoring

This commit is contained in:
Christian Pauly 2021-05-16 11:29:18 +02:00
parent 0b3734ff2b
commit 85be044726
3 changed files with 3 additions and 9 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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,
),
),